From: Mathieu Malaterre Date: Wed, 26 Feb 2014 14:23:30 +0000 (+0000) Subject: [trunk] When no output PGX file is found, report an error X-Git-Tag: version.2.0.1~4^2~201 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97c376e06d0c58b3d2961f1dfd5026eeaaa78fc8;p=openjpeg [trunk] When no output PGX file is found, report an error --- diff --git a/tests/nonregression/checkmd5refs.cmake b/tests/nonregression/checkmd5refs.cmake index 80de4ea9..87c0695a 100644 --- a/tests/nonregression/checkmd5refs.cmake +++ b/tests/nonregression/checkmd5refs.cmake @@ -21,6 +21,9 @@ #message("2: ${FILENAME}") file(GLOB globfiles "Temporary/${FILENAME}*.pgx" ) #message("6: ${globfiles}") +if(NOT globfiles) + message(SEND_ERROR "Could not find output PGX files: ${FILENAME}") +endif() # REFFILE follow what md5sum -c would expect as input: file(READ ${REFFILE} variable)