From 88087a3cf506555d1b8258509060f679ac93f6b6 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Wed, 11 Jan 2023 06:49:28 +0100 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/development/autotests/export.cmake b/development/autotests/export.cmake index aed57b87ab..0dedb48ac6 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) -- 2.39.5