• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2AFL_TEST_DEPTH=$((AFL_TEST_DEPTH-1))
3
4if [ $AFL_TEST_DEPTH = 0 ]; then
5# All runs done :)
6
7$ECHO "$GREY[*] $AFL_TEST_COUNT test cases completed.$RESET"
8test "$INCOMPLETE" = "0" && $ECHO "$GREEN[+] all test cases executed"
9test "$INCOMPLETE" = "1" && $ECHO "$YELLOW[-] not all test cases were executed"
10test "$CODE" = "0" && $ECHO "$GREEN[+] all tests were successful :-)$RESET"
11test "$CODE" = "0" || $ECHO "$RED[!] failure in tests :-($RESET"
12exit $CODE
13
14fi
15