]> granicus.if.org Git - openjpeg/commitdiff
[trunk] When no output PGX file is found, report an error
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Wed, 26 Feb 2014 14:23:30 +0000 (14:23 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Wed, 26 Feb 2014 14:23:30 +0000 (14:23 +0000)
tests/nonregression/checkmd5refs.cmake

index 80de4ea958957cd436fc5f4542393407a64325bd..87c0695aa06a8c40db021574ef0e38e34be29513 100644 (file)
@@ -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)