fix travis - heiko test your changes on linux pls ;)

This commit is contained in:
van Hauser 2020-04-08 18:28:35 +02:00
parent 09ab904354
commit 28314632bd

View File

@ -616,7 +616,6 @@ test -e ../libdislocator.so && {
rm -f test-compcov
test -e ../libradamsa.so && {
# on FreeBSD need to set AFL_CC
test `uname -s` = 'FreeBSD' && {
if type clang >/dev/null; then
export AFL_CC=`command -v clang`
@ -653,6 +652,16 @@ test -e ../libradamsa.so && {
INCOMPLETE=1
}
test -z "$AFL_CC" && {
if type gcc >/dev/null; then
export AFL_CC=gcc
else
if type clang >/dev/null; then
export AFL_CC=clang
fi
fi
}
$ECHO "$BLUE[*] Testing: qemu_mode"
test -e ../afl-qemu-trace && {
gcc -pie -fPIE -o test-instr ../test-instr.c