diff options
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index a9bdb62..10a7d5b 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -331,6 +331,10 @@ public: bool GetVerbose() { return this->Verbose;} bool GetExtraVerbose() { return this->ExtraVerbose;} + + /** Direct process output to given streams. */ + void SetStreams(std::ostream* out, std::ostream* err) + { this->StreamOut = out; this->StreamErr = err; } private: std::string ConfigType; bool Verbose; @@ -402,6 +406,10 @@ private: bool CompressXMLFiles; + void InitStreams(); + std::ostream* StreamOut; + std::ostream* StreamErr; + void BlockTestErrorDiagnostics(); |