Skip to content

Commit

Permalink
improve compiler test script
Browse files Browse the repository at this point in the history
  • Loading branch information
vanhauser-thc committed Jan 23, 2024
1 parent 243c664 commit 227c1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-compilers.sh
Original file line number Diff line number Diff line change
@@ -1,7 +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
test -e ../$cc && { { ../$cc -o t ../test-instr.c >/dev/null 2<&1 && echo Success: $cc ; } || echo Failing: $cc ; } || echo Missing: $cc
done
rm -f t
echo Done!

0 comments on commit 227c1a7

Please sign in to comment.