From f04838b04eda130197c66a5ccccd9b4420557b95 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 13 Aug 2016 20:59:44 +0100 Subject: Add AFL demo bitmap and icon corpus to unit tests --- test/runtest.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'test/runtest.sh') diff --git a/test/runtest.sh b/test/runtest.sh index c3e504c..5ac5a89 100755 --- a/test/runtest.sh +++ b/test/runtest.sh @@ -16,9 +16,15 @@ BMPTESTS="test/bmpsuite/*.bmp" # netsurf test bitmaps BMPTESTS="${BMPTESTS} test/bmp/*.bmp" +# afl bitmap suite +BMPTESTS="${BMPTESTS} test/afl-bmp/*.bmp" + # icon test directories ICOTESTS="test/icons/*.ico" +# afl ico suite +ICOTESTS="${BMPTESTS} test/afl-ico/*.ico" + bmpdecode() { OUTF=$(basename ${1} .bmp) @@ -65,7 +71,7 @@ ICOTESTERRC=0 # netsurf test icons for ICO in $(ls ${ICOTESTS});do - ICOTESTTOTC=$((BMPTESTTOTC+1)) + ICOTESTTOTC=$((ICOTESTTOTC+1)) icodecode ${ICO} ECODE=$? if [ "${ECODE}" -gt 128 ];then -- cgit v1.2.3