summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorMichael Wegner <michael_wegner@apple.com>2018-09-23 04:47:27 (GMT)
committerBrad King <brad.king@kitware.com>2018-09-26 15:47:49 (GMT)
commitb3d5b8b3fb7b009f2d3d24811934c08fd7ccec69 (patch)
treeae39cccb7e4dfa7e0e86debf2cb8a4a98f49d2f5 /Source/cmCTest.h
parent62fbe5002aa23c7591e325e622e62a2d1ed789be (diff)
downloadCMake-b3d5b8b3fb7b009f2d3d24811934c08fd7ccec69.zip
CMake-b3d5b8b3fb7b009f2d3d24811934c08fd7ccec69.tar.gz
CMake-b3d5b8b3fb7b009f2d3d24811934c08fd7ccec69.tar.bz2
ctest: Add option for live progress summary in terminal
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index c6ece98..345b538 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -390,6 +390,7 @@ public:
OUTPUT,
HANDLER_OUTPUT,
HANDLER_PROGRESS_OUTPUT,
+ HANDLER_TEST_PROGRESS_OUTPUT,
HANDLER_VERBOSE_OUTPUT,
WARNING,
ERROR_MESSAGE,
@@ -429,6 +430,8 @@ public:
void SetFailover(bool failover) { this->Failover = failover; }
bool GetFailover() { return this->Failover; }
+ bool GetTestProgressOutput() const { return this->TestProgressOutput; }
+
bool GetVerbose() { return this->Verbose; }
bool GetExtraVerbose() { return this->ExtraVerbose; }
@@ -467,6 +470,7 @@ private:
std::string ConfigType;
std::string ScheduleType;
std::chrono::system_clock::time_point StopTime;
+ bool TestProgressOutput;
bool Verbose;
bool ExtraVerbose;
bool ProduceXML;
@@ -476,6 +480,8 @@ private:
bool PrintLabels;
bool Failover;
+ bool FlushTestProgressLine;
+
bool ForceNewCTestProcess;
bool RunConfigurationScript;
@@ -561,6 +567,9 @@ private:
bool HandleCommandLineArguments(size_t& i, std::vector<std::string>& args,
std::string& errormsg);
+ /** returns true iff the console supports progress output */
+ bool ProgressOutputSupportedByConsole() const;
+
/** handle the -S -SP and -SR arguments */
void HandleScriptArguments(size_t& i, std::vector<std::string>& args,
bool& SRArgumentSpecified);