mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Cmake tests: Amend a7112690
: enable use of html5validator
Also add the Summary-output unconditionaly (e.g. also in case of no error)
This commit is contained in:
parent
9f3f21f0f9
commit
88087a3cf5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user