summaryrefslogtreecommitdiff
path: root/tools/test-common.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-03-19 10:48:34 -0700
committerEvan Huus <eapache@gmail.com>2015-05-02 14:02:01 +0000
commitcd204b5bdb7c960b59c8eaba4f3645cd93cb9a83 (patch)
tree7f93dbb932c40dbd2ef7523c66b38b5612fa73c2 /tools/test-common.sh
parent44d16019a27f1164d16dff7fb0f5f6bd8ed89af2 (diff)
downloadwireshark-cd204b5bdb7c960b59c8eaba4f3645cd93cb9a83.tar.gz
Try to keep capinfos+ASan from failing.
Set ASAN_OPTIONS=detect_leaks=0, otherwise all captures show up as invalid in capinfos. Change-Id: I4c2c1e52e9cd8b253cd4c01d0f8770294b66102e Reviewed-on: https://code.wireshark.org/review/7757 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'tools/test-common.sh')
-rw-r--r--tools/test-common.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/test-common.sh b/tools/test-common.sh
index 0388f9b097..002be98c1c 100644
--- a/tools/test-common.sh
+++ b/tools/test-common.sh
@@ -118,6 +118,9 @@ export MallocCheckHeapAbort=1
# Call abort() if an illegal free() call is made
export MallocBadFreeAbort=1
+# Address Sanitizer options
+export ASAN_OPTIONS=detect_leaks=0:detect_odr_violation=0
+
# Create an error report
function ws_exit_error() {
echo -e "\n ERROR"