summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-01-12 05:53:31 +0300
committerAndrei Karas <akaras@inbox.ru>2018-01-12 06:36:00 +0300
commit386b278b55466ceb8c8cddf18a71aee04ae90ec5 (patch)
treef343a5b4bacb330bd464720fffe40a4263c355ab /tools
parent0080d1e4e6ca38074e4493ea6b05884d9b358519 (diff)
downloadhercules-386b278b55466ceb8c8cddf18a71aee04ae90ec5.tar.gz
hercules-386b278b55466ceb8c8cddf18a71aee04ae90ec5.tar.bz2
hercules-386b278b55466ceb8c8cddf18a71aee04ae90ec5.tar.xz
hercules-386b278b55466ceb8c8cddf18a71aee04ae90ec5.zip
Ignore memory leaks in travis ci due mysql memory leak.
Gitlab ci look like unaffected.
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"