parent
1947323329
commit
ae7953849b
|
@ -340,17 +340,16 @@ foreach(OPJ_TEST_CMD_LINE ${OPJ_TEST_CMD_LINE_LIST})
|
||||||
|
|
||||||
# Test the encoded file is a valid JP2 file
|
# Test the encoded file is a valid JP2 file
|
||||||
if (JPYLYZER_EXECUTABLE)
|
if (JPYLYZER_EXECUTABLE)
|
||||||
if (${OUTPUT_FILENAME} MATCHES "\\.jp2$")
|
if (${OUTPUT_FILENAME} MATCHES "\\.jp2$")
|
||||||
add_test(NAME NR-ENC-${INPUT_FILENAME_NAME}-${IT_TEST_ENC}-jpylyser
|
add_test(NAME NR-ENC-${INPUT_FILENAME_NAME}-${IT_TEST_ENC}-jpylyser
|
||||||
COMMAND ${JPYLYZER_EXECUTABLE}
|
COMMAND ${JPYLYZER_EXECUTABLE}
|
||||||
${OUTPUT_FILENAME}
|
${OUTPUT_FILENAME}
|
||||||
)
|
)
|
||||||
set_tests_properties(NR-ENC-${INPUT_FILENAME_NAME}-${IT_TEST_ENC}-jpylyser PROPERTIES
|
set_tests_properties(NR-ENC-${INPUT_FILENAME_NAME}-${IT_TEST_ENC}-jpylyser PROPERTIES
|
||||||
DEPENDS NR-ENC-${INPUT_FILENAME_NAME}-${IT_TEST_ENC}-encode
|
DEPENDS NR-ENC-${INPUT_FILENAME_NAME}-${IT_TEST_ENC}-encode
|
||||||
PASS_REGULAR_EXPRESSION "<isValidJP2>True</isValidJP2>"
|
PASS_REGULAR_EXPRESSION "<isValidJP2>True</isValidJP2>"
|
||||||
)
|
)
|
||||||
|
endif()
|
||||||
endif()
|
|
||||||
endif(JPYLYZER_EXECUTABLE)
|
endif(JPYLYZER_EXECUTABLE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue