Tests: Extend RunCMake.CommandLine to cover --build with no arg

This commit is contained in:
Brad King 2015-06-11 15:40:24 -04:00
parent 31ce82d46d
commit 7195ec92b2
3 changed files with 4 additions and 0 deletions

View File

@ -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-arg ${CMAKE_COMMAND} -P)
run_cmake_command(P_no-file ${CMAKE_COMMAND} -P nosuchscriptfile.cmake) 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 run_cmake_command(build-no-cache
${CMAKE_COMMAND} --build ${RunCMake_SOURCE_DIR}) ${CMAKE_COMMAND} --build ${RunCMake_SOURCE_DIR})
run_cmake_command(build-no-generator run_cmake_command(build-no-generator

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1 @@
^Usage: cmake --build <dir> \[options\] \[-- \[native-options\]\]