diff options
author | Brad King <brad.king@kitware.com> | 2022-03-10 13:39:26 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-03-10 13:39:33 (GMT) |
commit | ab5baa32ad490d20381ee3220082f41d45ca7e45 (patch) | |
tree | e04d0b262a0d351a2ba751c7f083b1b6919224a5 /Source/CTest | |
parent | f409296c533f7e28f8bce5425e4d6f55f5777392 (diff) | |
parent | a116fd413dee6e2b05f71477bd68e1aa062b8f61 (diff) | |
download | CMake-ab5baa32ad490d20381ee3220082f41d45ca7e45.zip CMake-ab5baa32ad490d20381ee3220082f41d45ca7e45.tar.gz CMake-ab5baa32ad490d20381ee3220082f41d45ca7e45.tar.bz2 |
Merge topic 'ctest-WORKING_DIRECTORY'
a116fd413d ctest: print WORKING_DIRECTORY property with -V
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7060
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestRunTest.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx index f594300..2a2cb1c 100644 --- a/Source/CTest/cmCTestRunTest.cxx +++ b/Source/CTest/cmCTestRunTest.cxx @@ -695,6 +695,14 @@ void cmCTestRunTest::ComputeArguments() << " command: " << testCommand << std::endl); // Print any test-specific env vars in verbose mode + if (!this->TestProperties->Directory.empty()) { + cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, + this->Index << ": " + << "Working Directory: " + << this->TestProperties->Directory << std::endl); + } + + // Print any test-specific env vars in verbose mode if (!this->TestProperties->Environment.empty()) { cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, this->Index << ": " |