about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-04-09 11:49:40 +0200
committervan Hauser <vh@thc.org>2020-04-09 11:49:40 +0200
commitd55196352ce9cd93abab111b337b102fe4be2027 (patch)
tree19af14fa83f85cd2bf8da47d8adedc0b9d5c9c99 /test
parent45e569845e2f4e3023cb46d93c0638034e6df424 (diff)
downloadafl++-d55196352ce9cd93abab111b337b102fe4be2027.tar.gz
fix compilers for empty AFL_CC/AFL_CXX env
Diffstat (limited to 'test')
-rwxr-xr-xtest/test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test.sh b/test/test.sh
index 0666ca36..c673337e 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -581,6 +581,8 @@ test -e ../afl-gcc-fast -a -e ../afl-gcc-rt.o && {
   INCOMPLETE=1
 }
 
+test -z "$AFL_CC" && unset AFL_CC
+
 $ECHO "$BLUE[*] Testing: shared library extensions"
 cc $CFLAGS -o test-compcov test-compcov.c > /dev/null 2>&1
 test -e ../libtokencap.so && {