Merge topic 'improve-HTML-test'
5d3cfdc
No CMake.HTML test if xmllint has no --nonet.bb1df1e
Make HTML test fail when --nonet arg is not available.
This commit is contained in:
commit
01decafc97
|
@ -152,10 +152,6 @@ if(BUILD_TESTING)
|
||||||
${LIBXML2_XMLLINT_EXECUTABLE} --valid --noout --nonet --path .
|
${LIBXML2_XMLLINT_EXECUTABLE} --valid --noout --nonet --path .
|
||||||
${HTML_FILES}
|
${HTML_FILES}
|
||||||
)
|
)
|
||||||
else()
|
|
||||||
add_test(CMake.HTML
|
|
||||||
${LIBXML2_XMLLINT_EXECUTABLE} --valid --noout ${HTML_FILES}
|
|
||||||
)
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue