summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-10-01 16:21:16 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-10-01 16:21:16 (GMT)
commit6e9ec4598d0505b179012ba5d6d77b1b161a334a (patch)
treebdd6a8f7fbf8b9269f8460fc9162332c110ba42a /Source/cmCTest.h
parent7350756728923cc245464703ac3d4a0cef9653bd (diff)
downloadCMake-6e9ec4598d0505b179012ba5d6d77b1b161a334a.zip
CMake-6e9ec4598d0505b179012ba5d6d77b1b161a334a.tar.gz
CMake-6e9ec4598d0505b179012ba5d6d77b1b161a334a.tar.bz2
ENH: Add CTEST_EXECUTABLE_NAME to CTest scripting. This way you do not have to specify ctest executable in CTEST_COMMAND, but just a variable
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;