summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2018-09-28 23:20:28 +0530
committerNiels de Vos <ndevos@redhat.com>2018-12-29 11:12:19 +0100
commit36883e160e07466929c2fe7d6050403751d25a49 (patch)
tree319c9671f2f1beaaf1f2697cbc90022817ef98dd /configure.ac
parenta12bdfa72af9cc8df21d25b580058b49f3aa154a (diff)
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 <amarts@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 12 insertions, 0 deletions
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