summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestRunTest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/cmCTestRunTest.cxx')
-rw-r--r--Source/CTest/cmCTestRunTest.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx
index 92df585..86119a2 100644
--- a/Source/CTest/cmCTestRunTest.cxx
+++ b/Source/CTest/cmCTestRunTest.cxx
@@ -20,8 +20,10 @@
#include "cmCTest.h"
#include "cmSystemTools.h"
-cmCTestRunTest::cmCTestRunTest()
+cmCTestRunTest::cmCTestRunTest(cmCTestTestHandler* handler)
{
+ this->CTest = handler->CTest;
+ this->TestHandler = handler;
}
cmCTestRunTest::~cmCTestRunTest()
@@ -302,12 +304,6 @@ void cmCTestRunTest::MemCheckPostProcess()
}
}
-void cmCTestRunTest::SetTestHandler(cmCTestTestHandler * handler)
-{
- this->TestHandler = handler;
- this->CTest = handler->CTest;
-}
-
//----------------------------------------------------------------------
// Starts the execution of a test. Returns once it has started
bool cmCTestRunTest::StartTest()