summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKevin Puetz <PuetzKevinA@JohnDeere.com>2022-03-09 14:42:54 (GMT)
committerKevin Puetz <PuetzKevinA@JohnDeere.com>2022-03-09 19:00:01 (GMT)
commita116fd413dee6e2b05f71477bd68e1aa062b8f61 (patch)
tree7b5c58468c269970a5e53fa183478d474018df1c /Source
parent8c852e4cd03b551c22d2729b5711e64c45567457 (diff)
downloadCMake-a116fd413dee6e2b05f71477bd68e1aa062b8f61.zip
CMake-a116fd413dee6e2b05f71477bd68e1aa062b8f61.tar.gz
CMake-a116fd413dee6e2b05f71477bd68e1aa062b8f61.tar.bz2
ctest: print WORKING_DIRECTORY property with -V
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/cmCTestRunTest.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx
index 6cd3b09..2a314ee 100644
--- a/Source/CTest/cmCTestRunTest.cxx
+++ b/Source/CTest/cmCTestRunTest.cxx
@@ -694,6 +694,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 << ": "