mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00
Tests: Extend RunCMake.CommandLine to cover --build with no arg
This commit is contained in:
@@ -22,6 +22,8 @@ run_cmake_command(G_bad-arg ${CMAKE_COMMAND} -G NoSuchGenerator)
|
||||
run_cmake_command(P_no-arg ${CMAKE_COMMAND} -P)
|
||||
run_cmake_command(P_no-file ${CMAKE_COMMAND} -P nosuchscriptfile.cmake)
|
||||
|
||||
run_cmake_command(build-no-dir
|
||||
${CMAKE_COMMAND} --build)
|
||||
run_cmake_command(build-no-cache
|
||||
${CMAKE_COMMAND} --build ${RunCMake_SOURCE_DIR})
|
||||
run_cmake_command(build-no-generator
|
||||
|
1
Tests/RunCMake/CommandLine/build-no-dir-result.txt
Normal file
1
Tests/RunCMake/CommandLine/build-no-dir-result.txt
Normal file
@@ -0,0 +1 @@
|
||||
1
|
1
Tests/RunCMake/CommandLine/build-no-dir-stderr.txt
Normal file
1
Tests/RunCMake/CommandLine/build-no-dir-stderr.txt
Normal file
@@ -0,0 +1 @@
|
||||
^Usage: cmake --build <dir> \[options\] \[-- \[native-options\]\]
|
Reference in New Issue
Block a user