From: Thibaut Cuvelier Date: Mon, 9 Jan 2023 03:19:51 +0000 (+0100) Subject: Export tests: use a better function name. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=253d532974791d7606401590ad38f9641e26d127;p=features.git Export tests: use a better function name. --- diff --git a/development/autotests/export.cmake b/development/autotests/export.cmake index 0185d5b39d..aed57b87ab 100755 --- a/development/autotests/export.cmake +++ b/development/autotests/export.cmake @@ -195,7 +195,7 @@ macro(check_xhtml_xmlparser xhtml_file) Summary(_err "Checking \"${TempDir}/${xhtml_file}\" with xmlParser.pl") endmacro() -macro(check_xhtml_jing xhtml_file) +macro(check_docbook_jing xhtml_file) message(STATUS "Calling: ${JAVA_EXECUTABLE} -jar \"${TOP_SRC_DIR}/development/tools/jing.jar\" \"https://docbook.org/xml/5.2b09/rng/docbook.rng\" \"${TempDir}/${xhtml_file}\"") set(_outputfile "${TempDir}/${xhtml_file}.jing_out") execute_process( @@ -329,8 +329,7 @@ else() endif() if (JAVA_EXECUTABLE) if (format MATCHES "docbook5") - # check with jing - check_xhtml_jing(${result_file_name}) + check_docbook_jing(${result_file_name}) else() #check_xhtml_validate(${result_file_name}) endif()