From b6c5603ab0cd5f1aaf78bca88d324b58077bc300 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Tue, 13 Oct 2020 15:42:29 +0200 Subject: [PATCH] Cmake tests: Amend 667c0647: Use jing to test only docbook5 exports --- development/autotests/export.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/autotests/export.cmake b/development/autotests/export.cmake index d25362ec3c..384f389c39 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( -- 2.39.2