diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-03 20:10:55 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-03 20:10:55 (GMT) |
commit | 1a165dc60de12499eb3610db7efcc5fcbf48b780 (patch) | |
tree | 2fb1a463dbdcb9d5c7435c36ed0dbf77bb61d6e8 /Source/cmCTest.h | |
parent | 6fe633e1f75d296caf8890ca75c5899492de9f13 (diff) | |
download | CMake-1a165dc60de12499eb3610db7efcc5fcbf48b780.zip CMake-1a165dc60de12499eb3610db7efcc5fcbf48b780.tar.gz CMake-1a165dc60de12499eb3610db7efcc5fcbf48b780.tar.bz2 |
ENH: Move the build-and-test code to a handler
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 00ce135..bb5cf4c 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -88,6 +88,7 @@ public: ///! what is the configuraiton type, e.g. Debug, Release etc. std::string GetConfigType(); + double GetTimeOut() { return m_TimeOut; } /** * Check if CTest file exists @@ -289,22 +290,10 @@ private: int m_CompatibilityMode; // information for the --build-and-test options - std::string m_ExecutableDirectory; std::string m_CMakeSelf; std::string m_CTestSelf; - std::string m_SourceDir; std::string m_BinaryDir; - std::string m_BuildRunDir; - std::string m_BuildGenerator; - std::string m_BuildMakeProgram; - std::string m_BuildProject; - std::string m_BuildTarget; - std::vector<std::string> m_BuildOptions; - std::string m_TestCommand; - std::vector<std::string> m_TestCommandArgs; - bool m_BuildTwoConfig; - bool m_BuildNoClean; - bool m_BuildNoCMake; + std::string m_NotesFiles; @@ -325,12 +314,6 @@ private: //! Create not from files. int GenerateCTestNotesOutput(std::ostream& os, const tm_VectorOfStrings& files); - ///! Run CMake and build a test and then run it as a single test. - int RunCMakeAndTest(std::string* output); - int RunCMake(std::string* outstring, cmOStringStream &out, - std::string &cmakeOutString, - std::string &cwd, cmake *cm); - ///! Find the running cmake void FindRunningCMake(const char* arg0); |