about summary refs log tree commit diff
path: root/test/test-compilers.sh
blob: b47cf38d5dc902e94b96212977bfdc0dc797c059 (plain) (blame)
1
2
3
4
5
6
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 Success: $cc ; } || echo Failing: $cc ; } || echo Missing: $cc
done
rm -f t
echo Done!