summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-11-24 13:58:48 (GMT)
committerBrad King <brad.king@kitware.com>2009-11-24 13:58:48 (GMT)
commitc2ba35787e4f710d7424c30c61efd1d386d0d619 (patch)
tree16e8166e4df7d7bb1ce847b1b4946037a5bec51d /Source/cmCTest.h
parenta03f801f7f8d6d244623ce373ea583b95443bb9a (diff)
downloadCMake-c2ba35787e4f710d7424c30c61efd1d386d0d619.zip
CMake-c2ba35787e4f710d7424c30c61efd1d386d0d619.tar.gz
CMake-c2ba35787e4f710d7424c30c61efd1d386d0d619.tar.bz2
CTest: Simplify Initialize method signature
We make the cmCTest::Initialize method private since it is only called from inside the class implementation. We also combine the two boolean arguments into one since they both meant the same thing.
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index 47023f1..652b1c4 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -93,8 +93,6 @@ public:
/**
* Initialize and finalize testing
*/
- int Initialize(const char* binary_dir, bool new_tag = false,
- bool verbose_tag = true);
bool InitializeFromCommand(cmCTestCommand* command, bool first = false);
void Finalize();
@@ -446,6 +444,15 @@ private:
void BlockTestErrorDiagnostics();
+ /**
+ * Initialize a dashboard run in the given build tree. The "script"
+ * argument is true when running from a command-driven (ctest_start)
+ * dashboard script, and false when running from the CTest command
+ * line. Note that a declarative dashboard script does not actually
+ * call this method because it sets CTEST_COMMAND to drive a build
+ * through the ctest command line.
+ */
+ int Initialize(const char* binary_dir, bool script);
//! parse the option after -D and convert it into the appropriate steps
bool AddTestsForDashboardType(std::string &targ);