From 9cab515e5880b7f61e395dd3fa612d88c1db671f Mon Sep 17 00:00:00 2001 From: Dominik Maier Date: Mon, 30 Mar 2020 18:37:16 +0200 Subject: added unittests to test.sh --- test/test.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/test.sh b/test/test.sh index 3e1b6c43..de730c15 100755 --- a/test/test.sh +++ b/test/test.sh @@ -969,6 +969,10 @@ test -e test-custom-mutator.c -a -e ${CUSTOM_MUTATOR_PATH}/example.c -a -e ${CUS } unset CUSTOM_MUTATOR_PATH +$ECHO "$BLUE[*] Execution cmocka Unit-Tests $GREY" +unset AFL_CC +make -C .. unit || "$CODE" = "1" + $ECHO "$GREY[*] all test cases completed.$RESET" test "$INCOMPLETE" = "0" && $ECHO "$GREEN[+] all test cases executed" test "$INCOMPLETE" = "1" && $ECHO "$YELLOW[-] not all test cases were executed" -- cgit 1.4.1