summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestRunTest.h
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-08-28 15:08:39 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-08-28 15:08:39 (GMT)
commitb427d1985e76f1e3362056107670aba2a223346d (patch)
tree8a5cc05f08e23252f493f9f4d11f995e7f7713f5 /Source/CTest/cmCTestRunTest.h
parent00ca78108801277b95a59b519ac9b8cd43f1227a (diff)
downloadCMake-b427d1985e76f1e3362056107670aba2a223346d.zip
CMake-b427d1985e76f1e3362056107670aba2a223346d.tar.gz
CMake-b427d1985e76f1e3362056107670aba2a223346d.tar.bz2
Added ctest -N test. Fixed ctest working directory bug. MemCheck fix coming soon...
Diffstat (limited to 'Source/CTest/cmCTestRunTest.h')
-rw-r--r--Source/CTest/cmCTestRunTest.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/Source/CTest/cmCTestRunTest.h b/Source/CTest/cmCTestRunTest.h
index 2609808..521759a 100644
--- a/Source/CTest/cmCTestRunTest.h
+++ b/Source/CTest/cmCTestRunTest.h
@@ -55,15 +55,15 @@ public:
void CheckOutput();
//launch the test process, return whether it started correctly
bool StartTest();
- //capture the test results and send them back to the test handler
- bool EndTest();
-protected:
+ //capture and report the test results
+ bool EndTest(int completed, int total);
+ //Called by ctest -N to log the command string
+ void ComputeArguments();
+private:
void DartProcessing();
- bool CreateProcess(std::string executable,
- std::vector<std::string> args,
- double testTimeOut,
+ bool CreateProcess(double testTimeOut,
std::vector<std::string>* environment);
- void WriteLogOutputTop();
+ void WriteLogOutputTop(int completed, int total);
cmCTestTestHandler::cmCTestTestProperties * TestProperties;
//Pointer back to the "parent"; the handler that invoked this test run
@@ -86,6 +86,7 @@ protected:
std::string StartTime;
std::string TestCommand;
std::string ActualCommand;
+ std::vector<std::string> Arguments;
};
#endif