Files
cmake/Tests/RunCMake/CTestResourceAllocation/process_count-ctest-s-res-check.cmake
T
Daniel Pfeifer 508a72fc1c cmCTestRunTest: Don't modify the current environment
Instead, pass the environment variables to the child process.
2026-03-11 21:06:06 +01:00

10 lines
459 B
CMake

verify_ctest_resources()
read_testing_file("Test.xml" _test_contents)
if(NOT _test_contents MATCHES "(>|\n)CTEST_RESOURCE_GROUP_0=widgets")
string(APPEND RunCMake_TEST_FAILED "Could not find variable CTEST_RESOURCE_GROUP_0 in test measurements\n")
endif()
if(NOT _test_contents MATCHES "(>|\n)CTEST_RESOURCE_GROUP_0_WIDGETS=id:")
string(APPEND RunCMake_TEST_FAILED "Could not find variable CTEST_RESOURCE_GROUP_0_WIDGETS in test measurements\n")
endif()