diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-08-11 13:17:05 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-08-11 13:17:05 +0100 |
commit | b017792feaa0c28ef22d0d60e11612846e8e1db5 (patch) | |
tree | fc3e104907e00cb7daefe5918292c563f5f48ff9 | |
parent | b0e4d39dc3be430670148262efbc0226b97448a6 (diff) | |
download | libnsbmp-b017792feaa0c28ef22d0d60e11612846e8e1db5.tar.gz libnsbmp-b017792feaa0c28ef22d0d60e11612846e8e1db5.tar.bz2 |
add tests for problematic bitmaps
mantis 2446 has a problematic bitmap we can use to test with
-rw-r--r-- | test/bmp/mantis-2446.bmp | bin | 0 -> 1684 bytes | |||
-rwxr-xr-x | test/runtest.sh | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/bmp/mantis-2446.bmp b/test/bmp/mantis-2446.bmp Binary files differnew file mode 100644 index 0000000..d1e8886 --- /dev/null +++ b/test/bmp/mantis-2446.bmp 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 |