mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 21:59:54 -06:00
Tests: Remove stray argument from test invocation
The run_cmake_with_options() command already sets the test
command to ${CMAKE_COMMAND}. The options passed to that
command shouldn't also add another ${CMAKE_COMMAND}.
This removes a warning seen in the output of tests that invoke
__ep_test_with_build_with_server().
This commit is contained in:
@@ -112,7 +112,7 @@ function(__ep_test_with_build_with_server testName)
|
||||
|
||||
file(READ ${URL_FILE} SERVER_URL)
|
||||
message(STATUS "URL : ${URL_FILE} - ${SERVER_URL}")
|
||||
run_cmake_with_options(${testName} ${CMAKE_COMMAND} -DSERVER_URL=${SERVER_URL} )
|
||||
run_cmake_with_options(${testName} -DSERVER_URL=${SERVER_URL})
|
||||
run_cmake_command(${testName}-clean ${CMAKE_COMMAND} --build . --target clean)
|
||||
run_cmake_command(${testName}-build ${CMAKE_COMMAND} --build .)
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user