about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-06-16 19:44:52 +0200
committerhexcoder- <heiko@hexco.de>2020-06-16 19:44:52 +0200
commite05ed58bf8562d214fe2c2bb42c9a4f8503da63b (patch)
tree704ad3f4f84cfa67ebf76f7b8535f46a4b3309d0
parentd6824d540ba4f88c720aa2fbae07ad4cd2a3864b (diff)
downloadafl++-e05ed58bf8562d214fe2c2bb42c9a4f8503da63b.tar.gz
fix test.sh for failing unit tests
-rwxr-xr-xtest/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh
index 95aa6159..921e2087 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -1121,7 +1121,7 @@ test "1" = "`../afl-fuzz | grep -i 'without python' >/dev/null; echo $?`" && {
 
 $ECHO "$BLUE[*] Execution cmocka Unit-Tests $GREY"
 unset AFL_CC
-make -C .. unit || "$CODE" = "1"
+make -C .. unit || CODE=1 INCOMPLETE=1 :
 
 $ECHO "$GREY[*] all test cases completed.$RESET"
 test "$INCOMPLETE" = "0" && $ECHO "$GREEN[+] all test cases executed"