diff options
author | Brad King <brad.king@kitware.com> | 2022-01-20 19:35:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-01-20 19:36:48 (GMT) |
commit | a4f076110d4ceaf92f60a604fbca08f645cb5844 (patch) | |
tree | 1719a67d4bfddbfc64cfb1960c6ef31b0fe00b80 | |
parent | 410dd6cf611f31ebca74e1db4dc439e6fcaf34b4 (diff) | |
download | CMake-a4f076110d4ceaf92f60a604fbca08f645cb5844.zip CMake-a4f076110d4ceaf92f60a604fbca08f645cb5844.tar.gz CMake-a4f076110d4ceaf92f60a604fbca08f645cb5844.tar.bz2 |
Tests: Fix RunCMake.CommandLine toolchain case command line
-rw-r--r-- | Tests/RunCMake/CommandLine/RunCMakeTest.cmake | 2 | ||||
-rw-r--r-- | Tests/RunCMake/CommandLine/toolchain-valid-rel-build-path-stderr.txt | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake index 3622e64..313b579 100644 --- a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake +++ b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake @@ -196,7 +196,7 @@ function(run_Toolchain) set(CMAKE_SYSTEM_NAME Linux) set(toolchain_file binary_dir) ]=]) - run_cmake_with_options(toolchain-valid-rel-build-path ${CMAKE_COMMAND} -S ${source_dir} -B ${binary_dir} --toolchain toolchain.cmake) + run_cmake_with_options(toolchain-valid-rel-build-path -S ${source_dir} -B ${binary_dir} --toolchain toolchain.cmake) endfunction() run_Toolchain() diff --git a/Tests/RunCMake/CommandLine/toolchain-valid-rel-build-path-stderr.txt b/Tests/RunCMake/CommandLine/toolchain-valid-rel-build-path-stderr.txt index 1980051..0475546 100644 --- a/Tests/RunCMake/CommandLine/toolchain-valid-rel-build-path-stderr.txt +++ b/Tests/RunCMake/CommandLine/toolchain-valid-rel-build-path-stderr.txt @@ -1 +1,2 @@ -^CMake Error.*binary_dir +^CMake Error at CMakeLists.txt:[0-9] \(message\): + binary_dir$ |