summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestRunTest.h
diff options
context:
space:
mode:
authorJustin Goshi <jgoshi@microsoft.com>2018-10-18 18:34:37 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-10 12:37:32 (GMT)
commitfc41a95f0803abb2b5daa4f0eb21cf38c625bd26 (patch)
treebcb027bb2f3a2bfe453b78b7a82a2c2c420fc833 /Source/CTest/cmCTestRunTest.h
parent7b81d8c21e0a0d8756f0afdc0530c2d06ee3bcd4 (diff)
downloadCMake-fc41a95f0803abb2b5daa4f0eb21cf38c625bd26.zip
CMake-fc41a95f0803abb2b5daa4f0eb21cf38c625bd26.tar.gz
CMake-fc41a95f0803abb2b5daa4f0eb21cf38c625bd26.tar.bz2
CTest: Add --show-only[=format] option to print test info
format can be 'human' to print the current text format or 'json-v1' to print the test object model in json format and is useful for IDEs who want to gather information about the tests. Defaults to 'human' format.
Diffstat (limited to 'Source/CTest/cmCTestRunTest.h')
-rw-r--r--Source/CTest/cmCTestRunTest.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestRunTest.h b/Source/CTest/cmCTestRunTest.h
index 10dceca..c786413 100644
--- a/Source/CTest/cmCTestRunTest.h
+++ b/Source/CTest/cmCTestRunTest.h
@@ -78,6 +78,10 @@ public:
cmCTest* GetCTest() const { return this->CTest; }
+ std::string& GetActualCommand() { return this->ActualCommand; }
+
+ const std::vector<std::string>& GetArguments() { return this->Arguments; }
+
void FinalizeTest();
bool TimedOutForStopTime() const { return this->TimeoutIsForStopTime; }