blob: 4c8ec21748bcd8408bcd67bfcbcb55385fdd1e0f (
plain)
1
2
3
4
5
6
7
|
set(TEST_FILE CMakeFiles/create_file.dir/create_file.i)
file(READ ${TEST_FILE} CONTENTS)
if("${CONTENTS}" MATCHES "Unable to close")
message(STATUS "${TEST_FILE} created successfully!")
else()
message(FATAL_ERROR "${TEST_FILE} creation failed!")
endif()
|