diff options
Diffstat (limited to 'Source/CTest/cmCTestBatchTestHandler.h')
-rw-r--r-- | Source/CTest/cmCTestBatchTestHandler.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestBatchTestHandler.h b/Source/CTest/cmCTestBatchTestHandler.h new file mode 100644 index 0000000..f0c5c1f --- /dev/null +++ b/Source/CTest/cmCTestBatchTestHandler.h @@ -0,0 +1,29 @@ +#ifndef cmCTestBatchTestHandler_h +#define cmCTestBatchTestHandler_h + +#include <cmStandardIncludes.h> +#include <cmCTestTestHandler.h> +#include <cmCTestMultiProcessHandler.h> +#include <cmCTestRunTest.h> + +/** \class cmCTestBatchTestHandler + * \brief run parallel ctest + * + * cmCTestBatchTestHandler + */ +class cmCTestBatchTestHandler : public cmCTestMultiProcessHandler +{ +public: + ~cmCTestBatchTestHandler(); + virtual void RunTests(); +protected: + void WriteBatchScript(); + void WriteSrunArgs(int test, std::fstream& fout); + void WriteTestCommand(int test, std::fstream& fout); + + void SubmitBatchScript(); + + std::string Script; +}; + +#endif |