[LyX/master] Cmake tests: Amend 667c0647: Use jing to test only docbook5 exports
Kornel Benko
kornel at lyx.org
Tue Oct 13 13:15:39 UTC 2020
commit b6c5603ab0cd5f1aaf78bca88d324b58077bc300
Author: Kornel Benko <kornel at lyx.org>
Date: Tue Oct 13 15:42:29 2020 +0200
Cmake tests: Amend 667c0647: Use jing to test only docbook5 exports
---
development/autotests/export.cmake | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/development/autotests/export.cmake b/development/autotests/export.cmake
index d25362e..384f389 100755
--- a/development/autotests/export.cmake
+++ b/development/autotests/export.cmake
@@ -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(
More information about the lyx-cvs
mailing list