diff options
author | hexcoder- <heiko@hexco.de> | 2020-11-24 19:38:55 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-11-24 19:38:55 +0100 |
commit | 27c3423fb6f1cf568cf0e50b16a82c035945ae7c (patch) | |
tree | 905af0f8d2e89aba3c1aa9431009ef5bc015a097 /test | |
parent | ed2f82eaf40a49d76d7615370ea8749c2f1fefaa (diff) | |
download | afl++-27c3423fb6f1cf568cf0e50b16a82c035945ae7c.tar.gz |
test-pre.sh: remove old uses of afl-clang, afl-cc.c: add missing env.var. AFL_LLVM_LAF_ALL
Diffstat (limited to 'test')
-rwxr-xr-x | test/test-pre.sh | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/test/test-pre.sh b/test/test-pre.sh index fc14ee0b..fc84cb47 100755 --- a/test/test-pre.sh +++ b/test/test-pre.sh @@ -106,14 +106,7 @@ export AFL_LLVM_INSTRUMENT=AFL test -e /usr/local/bin/opt && { export PATH="/usr/local/bin:${PATH}" } -# on MacOS X we prefer afl-clang over afl-gcc, because -# afl-gcc does not work there -test `uname -s` = 'Darwin' -o `uname -s` = 'FreeBSD' && { - AFL_GCC=afl-clang -} || { - AFL_GCC=afl-gcc -} -command -v gcc >/dev/null 2>&1 || AFL_GCC=afl-clang +AFL_GCC=afl-gcc SYS=`uname -m` @@ -135,4 +128,4 @@ test -z "$SYS" && $ECHO "$YELLOW[-] uname -m did not succeed" CODE=0 INCOMPLETE=0 -fi \ No newline at end of file +fi |