[trunk] Be more verbose about failure.

Update issue 294
This commit is contained in:
Mathieu Malaterre 2014-03-14 11:37:44 +00:00
parent 3a80b72ac8
commit b7ebf54a29
2 changed files with 3 additions and 5 deletions

View File

@ -196,7 +196,7 @@ static opj_image_t* readImageFromFilePPM(const char* filename, int nbFilenamePGX
if (!image_read)
{
int it_free_data;
fprintf(stderr, "Unable to load pgx file\n");
fprintf(stderr, "Unable to load ppm file: %s\n", filenameComponentPGX);
free(param_image_read);

View File

@ -515,9 +515,9 @@ foreach(kdu_file ${kdu_j2k_conf_files})
)
if("${kdu_file}" STREQUAL "a6_mono_colr")
set(kdu_test_args -n 4 -s b_t_)
set(kdu_test_args -n 4 -s b_t_ -p 4:4:4:4 -m 1:1:1:1)
else()
set(kdu_test_args -n 1)
set(kdu_test_args -n 1 -p 4:4:4 -m 1:1:1)
endif()
add_test(NAME ETS-KDU-${filenameInput}-compare2ref
@ -525,8 +525,6 @@ foreach(kdu_file ${kdu_j2k_conf_files})
-b ${BASELINE_CONF}/${filenameRef}
-t ${TEMP}/${filenameInput}.ppm
${kdu_test_args}
-p 4:4:4
-m 1:1:1
)
set_tests_properties(ETS-KDU-${filenameInput}-compare2ref