diff options
Diffstat (limited to 'Tests/ComplexOneConfig/Library/test_preprocess.cmake')
-rw-r--r-- | Tests/ComplexOneConfig/Library/test_preprocess.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/ComplexOneConfig/Library/test_preprocess.cmake b/Tests/ComplexOneConfig/Library/test_preprocess.cmake index 885c613..4c8ec21 100644 --- a/Tests/ComplexOneConfig/Library/test_preprocess.cmake +++ b/Tests/ComplexOneConfig/Library/test_preprocess.cmake @@ -2,6 +2,6 @@ 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("${CONTENTS}" MATCHES "Unable to close") +else() message(FATAL_ERROR "${TEST_FILE} creation failed!") -endif("${CONTENTS}" MATCHES "Unable to close") +endif() |