Revert "make travis happy"

This reverts commit fc1a52b1c68d60ac27809536e27cb7d32f6cbdcc.
This commit is contained in:
Andrea Fioraldi 2019-12-15 22:25:06 +01:00
parent 2863d6205b
commit e79a4faf10
2 changed files with 4 additions and 2 deletions

View File

@ -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

@ -1 +1 @@
Subproject commit bc8e43e458636de4dcb861565c0928130cb1667c
Subproject commit c15508a3731d42fdd3b1a98d72ff80e2597def6b