From 36883e160e07466929c2fe7d6050403751d25a49 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 28 Sep 2018 23:20:28 +0530 Subject: configure: add a message about asan option This added hint helps to get ASan logs for the daemon processes, with this one can start using asan for regression tests. updates: bz#1633930 Change-Id: I3b39892d45d29ae514dad8ab10f65703c02003f1 Signed-off-by: Amar Tumballi --- configure.ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/configure.ac b/configure.ac index 1222d5bf1dc..66d4eb5be37 100644 --- a/configure.ac +++ b/configure.ac @@ -1624,3 +1624,15 @@ echo "Use TIRPC : $with_libtirpc" echo "With Python : ${PYTHON_VERSION}" echo "Cloudsync : $BUILD_CLOUDSYNC" echo + +if test "x$BUILD_ASAN" = "xyes"; then + echo "### Run below command before executing your tests if your system" + echo "### has 'gcc --version' above 7.x (works on Fedora 27 and Above)" + echo "export ASAN_OPTIONS=log_path=/var/log/glusterfs/asan-output.log" + echo "" + echo "### Above is required to get details of asan run, as glusterfs" + echo "### processes are daemon processes. Further details and more" + echo "### options can be found under 'Run-time flags' at" + echo "### https://github.com/google/sanitizers/wiki/AddressSanitizerFlags" + echo +fi -- cgit