| commit | 2ea216a6bb46c8421677fd34ba6d1cc2999063be | [log] [tgz] |
|---|---|---|
| author | Alexander Krabler <code@a.krabler.eu> | Sat Dec 16 09:51:25 2023 -0500 |
| committer | Brad King <brad.king@kitware.com> | Mon Dec 18 09:03:51 2023 -0500 |
| tree | 51db97b82950293e94956897cb90d0dda2dc6371 | |
| parent | ba41ca758af655d320d9bc2ca52d4c15c6f25b50 [diff] |
GoogleTest: Add working directory to gtest_discover_tests error message
If the working directory didn't exist, the old message just says:
Error running test executable.
Path: '<Path to test executable>'
Result: No such file or directory
Output:
This leads the user to the conclusion that the test executable doesn't
exist, which isn't true. Make the true cause visible by reporting the
working directory in the error message.