[trunk] updated tests

Update  issue 415
This commit is contained in:
Matthieu Darbois 2014-12-20 15:08:55 +00:00
parent 3888daac6a
commit 65c07b42e3
2 changed files with 4 additions and 2 deletions

View File

@ -50,7 +50,7 @@ set(BLACKLIST_JPEG2000_TMP
# Define a list of file which should be gracefully rejected: # Define a list of file which should be gracefully rejected:
set(BLACKLIST_JPEG2000 set(BLACKLIST_JPEG2000
${BLACKLIST_JPEG2000_TMP} ${BLACKLIST_JPEG2000_TMP}
broken.jp2 broken1.jp2
broken2.jp2 broken2.jp2
broken3.jp2 broken3.jp2
broken4.jp2 broken4.jp2
@ -70,6 +70,8 @@ set(BLACKLIST_JPEG2000
issue393.jp2 #kdu_jp2info ok issue393.jp2 #kdu_jp2info ok
issue408.jp2 #kdu_jp2info ok issue408.jp2 #kdu_jp2info ok
issue420.jp2 #kdu_jp2info ok issue420.jp2 #kdu_jp2info ok
27ac957758a35d00d6765a0c86350d9c.SIGFPE.d25.537.jpc #kdu_jp2info crash
3672da2f1f67bbecad27d7181b4e9d7c.SIGFPE.d25.805.jpc #kdu_jp2info crash
) )
file(GLOB_RECURSE OPJ_DATA_NR_LIST file(GLOB_RECURSE OPJ_DATA_NR_LIST

View File

@ -54,7 +54,7 @@ opj_decompress -i @INPUT_NR_PATH@/Bretagne2.j2k -o @TEMP_PATH@/Bretagne2.j2k.pg
opj_decompress -i @INPUT_NR_PATH@/_00042.j2k -o @TEMP_PATH@/_00042.j2k.pgx opj_decompress -i @INPUT_NR_PATH@/_00042.j2k -o @TEMP_PATH@/_00042.j2k.pgx
opj_decompress -i @INPUT_NR_PATH@/123.j2c -o @TEMP_PATH@/123.j2c.pgx opj_decompress -i @INPUT_NR_PATH@/123.j2c -o @TEMP_PATH@/123.j2c.pgx
# The 4 following tests should failed (kakadu indicates that they are corrupted) # The 4 following tests should failed (kakadu indicates that they are corrupted)
!opj_decompress -i @INPUT_NR_PATH@/broken.jp2 -o @TEMP_PATH@/broken.jp2.pgx !opj_decompress -i @INPUT_NR_PATH@/broken1.jp2 -o @TEMP_PATH@/broken1.jp2.pgx
!opj_decompress -i @INPUT_NR_PATH@/broken2.jp2 -o @TEMP_PATH@/broken2.jp2.pgx !opj_decompress -i @INPUT_NR_PATH@/broken2.jp2 -o @TEMP_PATH@/broken2.jp2.pgx
!opj_decompress -i @INPUT_NR_PATH@/broken3.jp2 -o @TEMP_PATH@/broken3.jp2.pgx !opj_decompress -i @INPUT_NR_PATH@/broken3.jp2 -o @TEMP_PATH@/broken3.jp2.pgx
!opj_decompress -i @INPUT_NR_PATH@/broken4.jp2 -o @TEMP_PATH@/broken4.jp2.pgx !opj_decompress -i @INPUT_NR_PATH@/broken4.jp2 -o @TEMP_PATH@/broken4.jp2.pgx