commit 88087a3cf506555d1b8258509060f679ac93f6b6
Author: Kornel Benko <[email protected]>
Date: Wed Jan 11 06:49:28 2023 +0100
Cmake tests: Amend a7112690: enable use of html5validator
Also add the Summary-output unconditionaly (e.g. also in case of no error)
---
development/autotests/export.cmake | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/development/autotests/export.cmake
b/development/autotests/export.cmake
index aed57b8..0dedb48 100755
--- a/development/autotests/export.cmake
+++ b/development/autotests/export.cmake
@@ -135,8 +135,8 @@ macro(check_xhtml_validate xhtml_file)
ERROR_VARIABLE xmlerr
RESULT_VARIABLE _err)
file(WRITE "${_outputfile}" ${xmlout})
+ Summary(_err "Validating \"${_outputfile}\"")
if (_err)
- Summary(_err "${_err} validating \"${_outputfile}\"")
MATH(EXPR NO_FAILES "${NO_FAILES}+1")
endif()
if (NOT "${xmlout}" STREQUAL "")
@@ -331,7 +331,7 @@ else()
if (format MATCHES "docbook5")
check_docbook_jing(${result_file_name})
else()
- #check_xhtml_validate(${result_file_name})
+ check_xhtml_validate(${result_file_name})
endif()
endif()
if (XMLLINT_EXECUTABLE)
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs