Cmake tests: Amend 667c0647: Use jing to test only docbook5 exports

This commit is contained in:
Kornel Benko 2020-10-13 15:42:29 +02:00
parent 2a594d3e90
commit b6c5603ab0

View File

@ -280,7 +280,7 @@ else()
endif()
endif()
endif()
if (NOT _err AND JAVA_EXECUTABLE)
if (NOT _err AND format MATCHES "docbook5" AND JAVA_EXECUTABLE)
# check with jing
message(STATUS "Calling: ${JAVA_EXECUTABLE} -jar \"${TOP_SRC_DIR}/development/tools/jing.jar\" https://docbook.org/xml/5.2b09/rng/docbook.rng \"${WORKDIR}/${result_file_name}\"")
execute_process(