diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-03-14 16:23:57 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-03-14 16:23:57 (GMT) |
commit | 824b231f42af0b228040202d3e62c781f5d6c409 (patch) | |
tree | dea8aa7d3d0d1106a3ff4cf6ceb259a357e3e154 /Source/cmCTest.h | |
parent | aeea4895a542c406fac45e8ceb08543416520fce (diff) | |
download | CMake-824b231f42af0b228040202d3e62c781f5d6c409.zip CMake-824b231f42af0b228040202d3e62c781f5d6c409.tar.gz CMake-824b231f42af0b228040202d3e62c781f5d6c409.tar.bz2 |
ENH: Count tests while they go. Also in the logs report more stuff like elapsed time etc.
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index fbdde44..f68cb99 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -20,6 +20,7 @@ #include "cmStandardIncludes.h" +#include "cmListFileCache.h" class cmMakefile; @@ -96,8 +97,7 @@ public: */ void ProcessDirectory(tm_VectorOfStrings &passed, tm_VectorOfStrings &failed, - bool memcheck, - std::ostream* logfile); + bool memcheck); /** * Find the executable for a test @@ -243,6 +243,15 @@ private: std::string m_PostContext; }; + typedef std::vector<cmListFileArgument> tm_VectorOfListFileArgs; + struct cmCTestTestProperties + { + cmStdString Name; + cmStdString Directory; + tm_VectorOfListFileArgs Args; + }; + typedef std::vector<cmCTestTestProperties> tm_ListOfTests; + // Some structures needed for cvs update struct StringPair : public std::pair<std::string, std::string>{}; @@ -337,6 +346,11 @@ private: int ExecuteCommands(tm_VectorOfStrings& vec); + /** + * Get the list of tests in directory and subdirectories. + */ + void cmCTest::GetListOfTests(tm_ListOfTests* testlist, bool memcheck); + //! Reread the configuration file void UpdateCTestConfiguration(); |