diff options
| author | vanhauser-thc <vh@thc.org> | 2021-12-26 01:05:07 +0100 |
|---|---|---|
| committer | vanhauser-thc <vh@thc.org> | 2021-12-26 01:05:07 +0100 |
| commit | 24dd35ef96ad1948132cee998d5e0909cfa2a5fc (patch) | |
| tree | 3fb6d12713eb5784f58a730d90fd555d9b50906e /test/test-pre.sh | |
| parent | 8217b5ff81f08a77c376eec1db3a386f7d8ce23f (diff) | |
| download | afl++-24dd35ef96ad1948132cee998d5e0909cfa2a5fc.tar.gz | |
macos ci
Diffstat (limited to 'test/test-pre.sh')
| -rwxr-xr-x | test/test-pre.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test-pre.sh b/test/test-pre.sh index e12d95be..b8b286e5 100755 --- a/test/test-pre.sh +++ b/test/test-pre.sh @@ -105,14 +105,14 @@ 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 +#export AFL_LLVM_INSTRUMENT=AFL # AFL mode makes dlopen not link on macos # on OpenBSD we need to work with llvm from /usr/local/bin test -e /usr/local/bin/opt && { - export PATH="/usr/local/bin:${PATH}" + test `uname -s` = 'Darwin' || export PATH="/usr/local/bin:${PATH}" } # on MacOS X we prefer afl-clang over afl-gcc, because -# afl-gcc does not work there +# afl-gcc does not work there (it is a symlink from clang) test `uname -s` = 'Darwin' -o `uname -s` = 'FreeBSD' && { AFL_GCC=afl-clang } || { |
