about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml12
-rwxr-xr-xtest/test.sh4
2 files changed, 4 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index 6640ddd4..6b718409 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,18 +9,10 @@ env:
 
 before_install:
   - sudo apt update
-  - sudo apt install -y libtool libtool-bin automake bison libglib2.0 build-essential clang gcc-8 gcc-8-plugin-dev
+  - sudo apt install -y libtool libtool-bin automake bison libglib2.0 build-essential clang gcc-8 gcc-8-plugin-dev libc++-8-dev
 
 script:
-  - echo DEBUG
-  - uname -a
-  - which python
-  - ls -l /bin/python* /usr/bin/python*
-  - file /bin/python* /usr/bin/python*
-  - dpkg -l | grep -i python
-  - pwd
-  - id
-  - echo END DEBUG
+  - which python2.7
   - make distrib
   - make tests
   - make clean
diff --git a/test/test.sh b/test/test.sh
index e75d9fc7..02eea821 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -377,7 +377,7 @@ test -d ../unicorn_mode/unicorn && {
       echo 0 > in/in
       $ECHO "$GREY[*] running afl-fuzz for unicorn_mode, this will take approx 20 seconds"
       {
-        ../afl-fuzz -V20 -U -i in -o out -d -- python ../unicorn_mode/samples/simple/simple_test_harness.py @@ >>errors 2>&1
+        ../afl-fuzz -V20 -U -i in -o out -d -- python2.7 ../unicorn_mode/samples/simple/simple_test_harness.py @@ >>errors 2>&1
       } >>errors 2>&1
       test -n "$( ls out/queue/id:000002* 2> /dev/null )" && {
         $ECHO "$GREEN[+] afl-fuzz is working correctly with unicorn_mode"
@@ -392,7 +392,7 @@ test -d ../unicorn_mode/unicorn && {
       $ECHO "$GREY[*] running afl-fuzz for unicorn_mode compcov, this will take approx 25 seconds"
       {
         export AFL_COMPCOV_LEVEL=2
-        ../afl-fuzz -V25 -U -i in -o out -d -- python ../unicorn_mode/samples/compcov_x64/compcov_test_harness.py @@ >>errors 2>&1
+        ../afl-fuzz -V25 -U -i in -o out -d -- python2.7 ../unicorn_mode/samples/compcov_x64/compcov_test_harness.py @@ >>errors 2>&1
       } >>errors 2>&1
       test -n "$( ls out/queue/id:000001* 2> /dev/null )" && {
         $ECHO "$GREEN[+] afl-fuzz is working correctly with unicorn_mode compcov"