summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/WorkingDirectory/RunCMakeTest.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/WorkingDirectory/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/WorkingDirectory/RunCMakeTest.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/WorkingDirectory/RunCMakeTest.cmake b/Tests/RunCMake/WorkingDirectory/RunCMakeTest.cmake
index a57cacb..a7685ae 100644
--- a/Tests/RunCMake/WorkingDirectory/RunCMakeTest.cmake
+++ b/Tests/RunCMake/WorkingDirectory/RunCMakeTest.cmake
@@ -1,3 +1,9 @@
include(RunCTest)
run_ctest(dirNotExist)
+run_ctest(buildAndTestNoBuildDir
+ --build-and-test
+ ${RunCMake_BINARY_DIR}/buildAndTestNoBuildDir
+ ${RunCMake_BINARY_DIR}/buildAndTestNoBuildDir/CMakeLists.txt # Deliberately a file
+ --build-generator "${RunCMake_GENERATOR}"
+)