ensure_parallel-ctest-s-res-check.cmake 447 B

12345678910111213141516
  1. verify_ctest_resources()
  2. set(expected_contents [[
  3. begin Test1
  4. alloc transmogrifiers calvin 2
  5. begin Test2
  6. alloc transmogrifiers hobbes 2
  7. dealloc transmogrifiers calvin 2
  8. end Test1
  9. dealloc transmogrifiers hobbes 2
  10. end Test2
  11. ]])
  12. file(READ "${RunCMake_TEST_BINARY_DIR}/ctresalloc.log" actual_contents)
  13. if(NOT actual_contents STREQUAL expected_contents)
  14. string(APPEND RunCMake_TEST_FAILED "ctresalloc.log contents did not match expected\n")
  15. endif()