From b017792feaa0c28ef22d0d60e11612846e8e1db5 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 11 Aug 2016 13:17:05 +0100 Subject: add tests for problematic bitmaps mantis 2446 has a problematic bitmap we can use to test with --- test/bmp/mantis-2446.bmp | Bin 0 -> 1684 bytes test/runtest.sh | 7 +++++++ 2 files changed, 7 insertions(+) create mode 100644 test/bmp/mantis-2446.bmp diff --git a/test/bmp/mantis-2446.bmp b/test/bmp/mantis-2446.bmp new file mode 100644 index 0000000..d1e8886 Binary files /dev/null and b/test/bmp/mantis-2446.bmp differ diff --git a/test/runtest.sh b/test/runtest.sh index 4ac3302..23d792e 100755 --- a/test/runtest.sh +++ b/test/runtest.sh @@ -17,10 +17,17 @@ icodecode() ${TEST_PATH}/test_decode_ico ${1} > ${TEST_OUT}/${OUTF}.ppm } +# standard bitmap suite for BMP in $(ls test/bmpsuite/*.bmp);do bmpdecode ${BMP} done +# test bitmaps +for ICO in $(ls test/bmp/*.bmp);do + bmpdecode ${ICO} +done + +# test icons for ICO in $(ls test/icons/*.ico);do icodecode ${ICO} done -- cgit v1.2.3