summaryrefslogtreecommitdiff
path: root/tests/nonregression
diff options
context:
space:
mode:
authorMatthieu Darbois <mayeut@users.noreply.github.com>2014-12-20 15:08:55 +0000
committerMatthieu Darbois <mayeut@users.noreply.github.com>2014-12-20 15:08:55 +0000
commit65c07b42e3b0f12faa25e8b17c12b7e21e110e88 (patch)
treea42d1480ee172a7f72bea0db06e2904e84a734f5 /tests/nonregression
parent3888daac6aa898902d6711b351e60b6ddc4a20d9 (diff)
[trunk] updated tests
Update issue 415
Diffstat (limited to 'tests/nonregression')
-rw-r--r--tests/nonregression/CMakeLists.txt4
-rw-r--r--tests/nonregression/test_suite.ctest.in2
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/nonregression/CMakeLists.txt b/tests/nonregression/CMakeLists.txt
index 927120f4..cd068dea 100644
--- a/tests/nonregression/CMakeLists.txt
+++ b/tests/nonregression/CMakeLists.txt
@@ -50,7 +50,7 @@ set(BLACKLIST_JPEG2000_TMP
# Define a list of file which should be gracefully rejected:
set(BLACKLIST_JPEG2000
${BLACKLIST_JPEG2000_TMP}
- broken.jp2
+ broken1.jp2
broken2.jp2
broken3.jp2
broken4.jp2
@@ -70,6 +70,8 @@ set(BLACKLIST_JPEG2000
issue393.jp2 #kdu_jp2info ok
issue408.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
diff --git a/tests/nonregression/test_suite.ctest.in b/tests/nonregression/test_suite.ctest.in
index fd792a78..9987d146 100644
--- a/tests/nonregression/test_suite.ctest.in
+++ b/tests/nonregression/test_suite.ctest.in
@@ -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@/123.j2c -o @TEMP_PATH@/123.j2c.pgx
# 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@/broken3.jp2 -o @TEMP_PATH@/broken3.jp2.pgx
!opj_decompress -i @INPUT_NR_PATH@/broken4.jp2 -o @TEMP_PATH@/broken4.jp2.pgx