aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2020-10-24 12:16:30 +0200
committervanhauser-thc <vh@thc.org>2020-10-24 12:16:30 +0200
commite5c2779d563ac3936d9b80d441b190b95c42638b (patch)
tree00bd8660917b87a4a79caf8518b71d5f4472f7da /test
parenteefc3608e7ef1c96f806395999028ebdec183b9d (diff)
downloadAFLplusplus-e5c2779d563ac3936d9b80d441b190b95c42638b.tar.gz
symbolize=1 for travis
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-pre.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/test-pre.sh b/test/test-pre.sh
index e3393962..fc14ee0b 100755
--- a/test/test-pre.sh
+++ b/test/test-pre.sh
@@ -93,7 +93,13 @@ unset LD_PRELOAD
rm -rf in in2 out
-export ASAN_OPTIONS=detect_leaks=0:allocator_may_return_null=1:abort_on_error=1:symbolize=0
+test -z "$TRAVIS_OS_NAME" && {
+ export ASAN_OPTIONS=detect_leaks=0:allocator_may_return_null=1:abort_on_error=1:symbolize=0
+}
+test -n "$TRAVIS_OS_NAME" && {
+ export ASAN_OPTIONS=detect_leaks=0:allocator_may_return_null=1:abort_on_error=1:symbolize=1
+}
+
export AFL_LLVM_INSTRUMENT=AFL
# on OpenBSD we need to work with llvm from /usr/local/bin