diff options
| author | mayeut <mayeut@users.noreply.github.com> | 2015-07-11 11:35:21 +0200 |
|---|---|---|
| committer | mayeut <mayeut@users.noreply.github.com> | 2015-07-11 11:35:21 +0200 |
| commit | dc43ebf96c079fb2a91a0e18f4d8f180855dd9ac (patch) | |
| tree | 40fb0609300f36f8f4a694a5cf14b5dba8962783 /tests | |
| parent | a7060dae1c689f994643a232c185307fe9545a84 (diff) | |
Add option to force component splitting in imagetopnm
Update uclouvain/openjpeg#289
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/conformance/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/conformance/CMakeLists.txt b/tests/conformance/CMakeLists.txt index c4d1bb66..3a07dbc4 100644 --- a/tests/conformance/CMakeLists.txt +++ b/tests/conformance/CMakeLists.txt @@ -510,11 +510,17 @@ foreach(kdu_file ${kdu_j2k_conf_files}) set( filenameInput "${kdu_file}.j2c" ) set( filenameRef "${kdu_file}.ppm" ) + if("${kdu_file}" STREQUAL "a6_mono_colr") + set(kdu_test_args -upsample -split-pnm ) + else() + set(kdu_test_args -upsample ) + endif() + add_test(NAME ETS-KDU-${filenameInput}-decode COMMAND opj_decompress -i ${INPUT_CONF}/${filenameInput} -o ${TEMP}/${filenameInput}.ppm - -upsample + ${kdu_test_args} ) if("${kdu_file}" STREQUAL "a6_mono_colr") |
