summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-06-16 15:41:18 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-07-06 15:38:11 (GMT)
commiteff45f790daf0beb3441961678f40599caf7eded (patch)
tree1d0594166d293c4e101b2e1329a466cffbcecc3f /Tests
parenta87c39dad12cb7abb69185a309282a1a2686a214 (diff)
downloadCMake-eff45f790daf0beb3441961678f40599caf7eded.zip
CMake-eff45f790daf0beb3441961678f40599caf7eded.tar.gz
CMake-eff45f790daf0beb3441961678f40599caf7eded.tar.bz2
RunCMake/CXXModules: fix example follow-on case names
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/CXXModules/RunCMakeTest.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/CXXModules/RunCMakeTest.cmake b/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
index 38cbcdd..b5a0e5c 100644
--- a/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
@@ -109,8 +109,8 @@ function (run_cxx_module_test directory)
${ARGN})
run_cmake("examples/${test_name}")
set(RunCMake_TEST_NO_CLEAN 1)
- run_cmake_command("${test_name}-build" "${CMAKE_COMMAND}" --build . --config Debug)
- run_cmake_command("${test_name}-test" "${CMAKE_CTEST_COMMAND}" -C Debug --output-on-failure)
+ run_cmake_command("examples/${test_name}-build" "${CMAKE_COMMAND}" --build . --config Debug)
+ run_cmake_command("examples/${test_name}-test" "${CMAKE_CTEST_COMMAND}" -C Debug --output-on-failure)
endfunction ()
string(REPLACE "," ";" CMake_TEST_MODULE_COMPILATION "${CMake_TEST_MODULE_COMPILATION}")