diff options
author | Craig Scott <craig.scott@crascit.com> | 2018-12-31 22:07:03 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-12-31 22:07:13 (GMT) |
commit | a7dcf130e90d08921a7d68a15e8568355ca934f1 (patch) | |
tree | 6dfff7a3aa9ab4f954fdd004d79c2f9fc019080f /Modules | |
parent | f941320ba1d0b947a31c6f9cca5c9395135226bc (diff) | |
parent | 3bbf77fa01faffe5c430991b73a177ab1966e036 (diff) | |
download | CMake-a7dcf130e90d08921a7d68a15e8568355ca934f1.zip CMake-a7dcf130e90d08921a7d68a15e8568355ca934f1.tar.gz CMake-a7dcf130e90d08921a7d68a15e8568355ca934f1.tar.bz2 |
Merge topic 'gtest-discovery-work-dir'
3bbf77fa01 Specify WORKING_DIRECTORY to execute_process() in GoogleTestAddTests
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2761
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/GoogleTestAddTests.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/GoogleTestAddTests.cmake b/Modules/GoogleTestAddTests.cmake index 5a4bdca..4abbbec 100644 --- a/Modules/GoogleTestAddTests.cmake +++ b/Modules/GoogleTestAddTests.cmake @@ -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 |