Tests: Fix RunCMake.CommandLine toolchain case command line

This commit is contained in:
Brad King
2022-01-20 14:35:20 -05:00
parent 410dd6cf61
commit a4f076110d
2 changed files with 3 additions and 2 deletions

View File

@@ -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()

View File

@@ -1 +1,2 @@
^CMake Error.*binary_dir
^CMake Error at CMakeLists.txt:[0-9] \(message\):
binary_dir$