summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-10 20:51:29 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-10 20:51:29 (GMT)
commitd278cde9e72348c90504268c6564ca969685212b (patch)
tree5534d028f0967910270f4e338a307972fc2695ad /Source/cmCTest.h
parenta1e4c4f1dff8e4ca01dd9d4b14c383841aa621d5 (diff)
downloadCMake-d278cde9e72348c90504268c6564ca969685212b.zip
CMake-d278cde9e72348c90504268c6564ca969685212b.tar.gz
CMake-d278cde9e72348c90504268c6564ca969685212b.tar.bz2
ENH: Add logging of tests while running. This way you can actually see the output as it goes
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index bca7ef4..c9d15d2 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -95,7 +95,8 @@ public:
*/
void ProcessDirectory(tm_VectorOfStrings &passed,
tm_VectorOfStrings &failed,
- bool memcheck);
+ bool memcheck,
+ std::ostream* logfile);
/**
* Find the executable for a test
@@ -359,7 +360,8 @@ private:
//! Run command specialized for tests. Returns process status and retVal is
// return value or exception.
- int RunTest(std::vector<const char*> args, std::string* output, int *retVal);
+ int RunTest(std::vector<const char*> args, std::string* output, int *retVal,
+ std::ostream* logfile);
std::string GenerateRegressionImages(const std::string& xml);
const char* GetTestStatus(int status);