From e05ed58bf8562d214fe2c2bb42c9a4f8503da63b Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Tue, 16 Jun 2020 19:44:52 +0200 Subject: [PATCH] fix test.sh for failing unit tests --- test/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"