summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index fcc9bf1..477775a 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -179,6 +179,10 @@ public:
int RunTest(std::vector<const char*> args, std::string* output, int *retVal,
std::ostream* logfile);
+ //! Get the path to CTest
+ const char* GetCTestExecutable() { return m_CTestSelf.c_str(); }
+
+
private:
// these are helper classes
cmCTestBuildHandler *BuildHandler;