Initial commit.
[CMakeLuaTailorHgBridge.git] / CMakeLua / Tests / ComplexOneConfig / Library / test_preprocess.cmake
blobd2d9fc652ade61bc5209d7b99529853a4e3b82cf
1 SET(TEST_FILE CMakeFiles/create_file.dir/create_file.i)
2 FILE(READ ${TEST_FILE} CONTENTS)
3 IF("${CONTENTS}" MATCHES "Unable to close")
4   MESSAGE(STATUS "${TEST_FILE} created successfully!")
5 ELSE("${CONTENTS}" MATCHES "Unable to close")
6   MESSAGE(FATAL_ERROR "${TEST_FILE} creation failed!")
7 ENDIF("${CONTENTS}" MATCHES "Unable to close")