summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-12-19 13:10:29 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-12-19 13:10:55 (GMT)
commitc3b4453b13b853268ba875cda5e3f3d10830f1a4 (patch)
tree75c1c89c77a4c30ff4947b3f072f62ac126794f2 /Modules
parentd2cbadf3b435af9d271b5ed174c56c16af771f79 (diff)
parent2ea216a6bb46c8421677fd34ba6d1cc2999063be (diff)
downloadCMake-c3b4453b13b853268ba875cda5e3f3d10830f1a4.zip
CMake-c3b4453b13b853268ba875cda5e3f3d10830f1a4.tar.gz
CMake-c3b4453b13b853268ba875cda5e3f3d10830f1a4.tar.bz2
Merge topic 'gtest_discover_tests_error_message'
2ea216a6bb GoogleTest: Add working directory to gtest_discover_tests error message Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9083
Diffstat (limited to 'Modules')
-rw-r--r--Modules/GoogleTestAddTests.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/GoogleTestAddTests.cmake b/Modules/GoogleTestAddTests.cmake
index de0f7d6..eea267d 100644
--- a/Modules/GoogleTestAddTests.cmake
+++ b/Modules/GoogleTestAddTests.cmake
@@ -112,6 +112,7 @@ function(gtest_discover_tests_impl)
message(FATAL_ERROR
"Error running test executable.\n"
" Path: '${path}'\n"
+ " Working directory: '${_TEST_WORKING_DIR}'\n"
" Result: ${result}\n"
" Output:\n"
" ${output}\n"