diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/test-llvm-lto.sh | 3 | ||||
-rwxr-xr-x | test/test-qemu-mode.sh | 14 | ||||
-rwxr-xr-x | test/test-unicorn-mode.sh | 2 |
3 files changed, 8 insertions, 11 deletions
diff --git a/test/test-llvm-lto.sh b/test/test-llvm-lto.sh index 9ff2ec10..bb4a9f7c 100755 --- a/test/test-llvm-lto.sh +++ b/test/test-llvm-lto.sh @@ -49,6 +49,9 @@ test -e ../afl-clang-lto -a -e ../SanitizerCoverageLTO.so && { grep -q "No instrumentation targets found" test.out && { $ECHO "$GREEN[+] llvm_mode LTO instrumentlist feature works correctly" } || { + echo CUT------------------------------------------------------------------CUT + cat test.out + echo CUT------------------------------------------------------------------CUT $ECHO "$RED[!] llvm_mode LTO instrumentlist feature failed" CODE=1 } diff --git a/test/test-qemu-mode.sh b/test/test-qemu-mode.sh index 85578d55..46b138ff 100755 --- a/test/test-qemu-mode.sh +++ b/test/test-qemu-mode.sh @@ -165,11 +165,8 @@ test -e ../afl-qemu-trace && { CODE=1 } } || { - echo CUT------------------------------------------------------------------CUT - cat errors - echo CUT------------------------------------------------------------------CUT - $ECHO "$RED[!] cannot compile test program (32 bit) for unsigaction library" - CODE=1 + $ECHO "$YELLOW[-] cannot compile test program (32 bit) for unsigaction library" + INCOMPLETE=1 } } || { $ECHO "$YELLOW[-] we cannot test qemu_mode unsigaction library (32 bit) because it is not present" @@ -194,11 +191,8 @@ test -e ../afl-qemu-trace && { } unset LD_PRELOAD } || { - echo CUT------------------------------------------------------------------CUT - cat errors - echo CUT------------------------------------------------------------------CUT - $ECHO "$RED[!] cannot compile test program (64 bit) for unsigaction library" - CODE=1 + $ECHO "$YELLOW[-] cannot compile test program (64 bit) for unsigaction library" + INCOMPLETE=1 } } || { $ECHO "$YELLOW[-] we cannot test qemu_mode unsigaction library (64 bit) because it is not present" diff --git a/test/test-unicorn-mode.sh b/test/test-unicorn-mode.sh index 182958d6..f8ff4190 100755 --- a/test/test-unicorn-mode.sh +++ b/test/test-unicorn-mode.sh @@ -3,7 +3,7 @@ . ./test-pre.sh $ECHO "$BLUE[*] Testing: unicorn_mode" -test -d ../unicorn_mode/unicornafl -a -e ../unicorn_mode/unicornafl/samples/shellcode && { +test -d ../unicorn_mode/unicornafl -a -e ../unicorn_mode/unicornafl/Makefile && { test -e ../unicorn_mode/samples/python_simple/simple_target.bin -a -e ../unicorn_mode/samples/compcov_x64/compcov_target.bin && { { # We want to see python errors etc. in logs, in case something doesn't work |