Updated formatting of documentation plus a little reorganization.
[cmake.git] / Source / CTest / cmCTestBatchTestHandler.h
blobf2695b3917d49123a01c9502c17a6af22bbbfccb
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmCTestBatchTestHandler.h,v $
5 Language: C++
6 Date: $Date: 2009-09-21 18:21:41 $
7 Version: $Revision: 1.2 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
18 #ifndef cmCTestBatchTestHandler_h
19 #define cmCTestBatchTestHandler_h
21 #include <cmStandardIncludes.h>
22 #include <cmCTestTestHandler.h>
23 #include <cmCTestMultiProcessHandler.h>
24 #include <cmCTestRunTest.h>
26 /** \class cmCTestBatchTestHandler
27 * \brief run parallel ctest
29 * cmCTestBatchTestHandler
31 class cmCTestBatchTestHandler : public cmCTestMultiProcessHandler
33 public:
34 ~cmCTestBatchTestHandler();
35 virtual void RunTests();
36 protected:
37 void WriteBatchScript();
38 void WriteSrunArgs(int test, std::fstream& fout);
39 void WriteTestCommand(int test, std::fstream& fout);
41 void SubmitBatchScript();
43 std::string Script;
46 #endif