CMake/Tests/RunCMake/Configure/RerunCMake-build2-check.cmake

10 lines
271 B
CMake
Raw Normal View History

file(READ ${stamp} content)
if(NOT content STREQUAL 2)
set(RunCMake_TEST_FAILED "Expected stamp '2' but got: '${content}'")
endif()
file(READ ${output} content)
if(NOT content STREQUAL 2)
set(RunCMake_TEST_FAILED "Expected output '2' but got: '${content}'")
endif()