mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-07 15:49:43 -06:00
Specify WORKING_DIRECTORY to execute_process() in GoogleTestAddTests
This commit is contained in:
@@ -30,6 +30,7 @@ if(NOT EXISTS "${TEST_EXECUTABLE}")
|
||||
endif()
|
||||
execute_process(
|
||||
COMMAND ${TEST_EXECUTOR} "${TEST_EXECUTABLE}" --gtest_list_tests
|
||||
WORKING_DIRECTORY "${TEST_WORKING_DIR}"
|
||||
TIMEOUT ${TEST_DISCOVERY_TIMEOUT}
|
||||
OUTPUT_VARIABLE output
|
||||
RESULT_VARIABLE result
|
||||
|
||||
Reference in New Issue
Block a user