summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci/travis.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/ci/travis.sh b/tools/ci/travis.sh
index cc1f15ee8..59726efe8 100755
--- a/tools/ci/travis.sh
+++ b/tools/ci/travis.sh
@@ -203,6 +203,12 @@ EOF
ARGS="--load-plugin script_mapquit $ARGS --load-script npc/dev/ci_test.txt"
PLUGINS="--load-plugin HPMHooking --load-plugin sample"
echo "run tests"
+ if [[ $DBUSER == "travis" ]]; then
+ echo "Disable leak dection on travis"
+ export ASAN_OPTIONS=detect_leaks=0:detect_stack_use_after_return=true:strict_init_order=true
+ else
+ export ASAN_OPTIONS=detect_leaks=1:detect_stack_use_after_return=true:strict_init_order=true
+ fi
# run_test spinlock # Not running the spinlock test for the time being (too time consuming)
run_test libconfig
echo "run all servers without HPM"