]> git.lyx.org Git - lyx.git/commitdiff
Export tests: use a better function name.
authorThibaut Cuvelier <tcuvelier@lyx.org>
Mon, 9 Jan 2023 03:19:51 +0000 (04:19 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Mon, 9 Jan 2023 16:16:40 +0000 (17:16 +0100)
development/autotests/export.cmake

index 0185d5b39d6e1ab6916b2d0b8d5dac327c4fa295..aed57b87abdc9a96b84f57c4af9b6e62d58885f0 100755 (executable)
@@ -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()