You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
447 B
17 lines
447 B
5 years ago
|
verify_ctest_resources()
|
||
|
|
||
|
set(expected_contents [[
|
||
|
begin Test1
|
||
|
alloc transmogrifiers calvin 2
|
||
|
begin Test2
|
||
|
alloc transmogrifiers hobbes 2
|
||
|
dealloc transmogrifiers calvin 2
|
||
|
end Test1
|
||
|
dealloc transmogrifiers hobbes 2
|
||
|
end Test2
|
||
|
]])
|
||
|
file(READ "${RunCMake_TEST_BINARY_DIR}/ctresalloc.log" actual_contents)
|
||
|
if(NOT actual_contents STREQUAL expected_contents)
|
||
|
string(APPEND RunCMake_TEST_FAILED "ctresalloc.log contents did not match expected\n")
|
||
|
endif()
|