[libxml2] Add additional tests and XML Conformance Test Suite
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Add additional tests and XML Conformance Test Suite
- Date: Mon, 13 Jul 2020 10:29:13 +0000 (UTC)
commit 270e16555227248205e35fbcf744b4a837a4a95d
Author: Markus Rickert <rickert fortiss org>
Date: Thu Jun 4 14:45:48 2020 +0200
Add additional tests and XML Conformance Test Suite
CMakeLists.txt | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index efb05adc..63097924 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -558,8 +558,13 @@ if(LIBXML2_WITH_TESTS)
foreach(TEST ${TESTS})
add_executable(${TEST} ${TEST}.c)
target_link_libraries(${TEST} LibXml2)
- #add_test(NAME ${TEST} COMMAND ${TEST})
endforeach()
+ if(EXISTS ${CMAKE_CURRENT_BINARY_DIR}/xmlconf/xmlconf.xml)
+ add_test(NAME runxmlconf COMMAND runxmlconf)
+ endif()
+ add_test(NAME testchar COMMAND testchar)
+ add_test(NAME testdict COMMAND testdict)
+ add_test(NAME testrecurse COMMAND testrecurse WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
if(Threads_FOUND)
set(
TESTS_THREADS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]