diff options
author | Nehal J Wani <nehaljw.kkd1@gmail.com> | 2018-12-28 12:14:51 (GMT) |
---|---|---|
committer | Nehal J Wani <nehaljw.kkd1@gmail.com> | 2018-12-28 12:14:51 (GMT) |
commit | 3bbf77fa01faffe5c430991b73a177ab1966e036 (patch) | |
tree | ba48efa875830c7fbe571506a93e59d0488db770 /Modules/GoogleTestAddTests.cmake | |
parent | f564f65ff551932aa17a9b4511cf66baf3d28f47 (diff) | |
download | CMake-3bbf77fa01faffe5c430991b73a177ab1966e036.zip CMake-3bbf77fa01faffe5c430991b73a177ab1966e036.tar.gz CMake-3bbf77fa01faffe5c430991b73a177ab1966e036.tar.bz2 |
Specify WORKING_DIRECTORY to execute_process() in GoogleTestAddTests
Diffstat (limited to 'Modules/GoogleTestAddTests.cmake')
-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 |