mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
Tests: Allow RunCMake.CTestCommandLine/TestOutputSize to have larger file
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
file(GLOB test_xml_file "${RunCMake_TEST_BINARY_DIR}/Testing/*/Test.xml")
|
||||
if(test_xml_file)
|
||||
file(READ "${test_xml_file}" test_xml LIMIT 4096)
|
||||
file(READ "${test_xml_file}" test_xml LIMIT 8192)
|
||||
if("${test_xml}" MATCHES [[(<Test Status="passed">.*</Test>).*(<Test Status="failed">.*</Test>)]])
|
||||
set(test_passed "${CMAKE_MATCH_1}")
|
||||
set(test_failed "${CMAKE_MATCH_2}")
|
||||
|
||||
Reference in New Issue
Block a user