From a4f076110d4ceaf92f60a604fbca08f645cb5844 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 20 Jan 2022 14:35:20 -0500 Subject: Tests: Fix RunCMake.CommandLine toolchain case command line --- Tests/RunCMake/CommandLine/RunCMakeTest.cmake | 2 +- 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$ -- cgit v0.12