[test suite] minor check for AFL compile configure success

This commit is contained in:
Michael Rash 2015-05-14 17:49:55 -07:00
parent 28dc60f9bd
commit 7817d28a2d
2 changed files with 17 additions and 0 deletions

View File

@ -8,9 +8,18 @@
#
cd ../../
./extras/apparmor/configure_args.sh --enable-afl-fuzzing --enable-profile-coverage $@
if [ $? -ne 0 ]
then
echo "[*] autogen configure script failure, exiting"
exit 1
fi
make clean
make
cd test/afl
exit $?

View File

@ -1,7 +1,15 @@
#!/bin/sh -x
cd ../../
CC=afl-gcc ./extras/apparmor/configure_args.sh --enable-afl-fuzzing $@
if [ $? -ne 0 ]
then
echo "[*] autogen configure script failure, exiting"
exit 1
fi
make clean
AFL_HARDEN=1 make
cd test/afl