about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xtest/test.sh4
m---------unicorn_mode/unicorn0
2 files changed, 3 insertions, 1 deletions
diff --git a/test/test.sh b/test/test.sh
index 90dc0dfe..64c76758 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -550,9 +550,11 @@ test -d ../unicorn_mode/unicorn && {
   test -e ../unicorn_mode/samples/simple/simple_target.bin -a -e ../unicorn_mode/samples/compcov_x64/compcov_target.bin && {
     {
       # travis workaround
-      PY=python
+      PY=`which python`
+      test "$PY" = "/opt/pyenv/shims/python" -a -x /usr/bin/python && PY=/usr/bin/python
       mkdir -p in
       echo 0 > in/in
+      $ECHO "$GREY[*] Using python binary $PY"
       $ECHO "$GREY[*] running afl-fuzz for unicorn_mode, this will take approx 25 seconds"
       {
         ../afl-fuzz -V25 -U -i in -o out -d -- "$PY" ../unicorn_mode/samples/simple/simple_test_harness.py @@ >>errors 2>&1
diff --git a/unicorn_mode/unicorn b/unicorn_mode/unicorn
-Subproject bc8e43e458636de4dcb861565c0928130cb1667
+Subproject c15508a3731d42fdd3b1a98d72ff80e2597def6