summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Configure/RerunCMake-build1-check.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/Configure/RerunCMake-build1-check.cmake')
-rw-r--r--Tests/RunCMake/Configure/RerunCMake-build1-check.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/Configure/RerunCMake-build1-check.cmake b/Tests/RunCMake/Configure/RerunCMake-build1-check.cmake
index 3fb557f..dbf8f67 100644
--- a/Tests/RunCMake/Configure/RerunCMake-build1-check.cmake
+++ b/Tests/RunCMake/Configure/RerunCMake-build1-check.cmake
@@ -2,3 +2,8 @@ file(READ ${stamp} content)
if(NOT content STREQUAL 1)
set(RunCMake_TEST_FAILED "Expected stamp '1' but got: '${content}'")
endif()
+
+file(READ ${output} content)
+if(NOT content STREQUAL 1)
+ set(RunCMake_TEST_FAILED "Expected output '1' but got: '${content}'")
+endif()