diff options
author | vanhauser-thc <vh@thc.org> | 2024-01-19 12:20:33 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2024-01-19 12:20:33 +0100 |
commit | de561b730a810dce4589745442474e8ee8024275 (patch) | |
tree | c1d599b50f37bc08e0d37e19f707a996b6fc0175 /test/test-compilers.sh | |
parent | a518c4d75c15e2e0cb8633361a0162eb70c7965b (diff) | |
download | afl++-de561b730a810dce4589745442474e8ee8024275.tar.gz |
add compiler test script
Diffstat (limited to 'test/test-compilers.sh')
-rwxr-xr-x | test/test-compilers.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test-compilers.sh b/test/test-compilers.sh new file mode 100755 index 00000000..628af423 --- /dev/null +++ b/test/test-compilers.sh @@ -0,0 +1,7 @@ +#!/bin/sh +echo Testing compilers ... +for cc in afl-cc afl-gcc afl-clang afl-clang-fast afl-clang-lto afl-gcc-fast; do + test -e ../$cc && { ../$cc -o t ../test-instr.c >/dev/null 2<&1 || echo Failing: $cc ; } || echo Missing: $cc +done +rm -f t +echo Done! |