summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2009-12-29 19:38:31 (GMT)
committerDavid Cole <david.cole@kitware.com>2009-12-29 19:38:31 (GMT)
commitaad15c3abfbffc216bbbab654f6eb19f312c1e56 (patch)
treee52b143932c06abfabdf1fbe638abf8c0f82bd04 /Source/cmCTest.h
parent5ce7e35960b6d2affb0450ae3e2ce0c47b6f30ff (diff)
downloadCMake-aad15c3abfbffc216bbbab654f6eb19f312c1e56.zip
CMake-aad15c3abfbffc216bbbab654f6eb19f312c1e56.tar.gz
CMake-aad15c3abfbffc216bbbab654f6eb19f312c1e56.tar.bz2
Fix issue #10060 - add APPEND arg to ctest_start command.
If APPEND is given to ctest_start, it will read the tag from the current existing Testing/TAG file rather than creating a new one based on the current time stamp. This allows a developer to run several dashboard scripts in a row, all of which will share the same tag/stamp/buildid when they finally get submitted to CDash. Now you can split the running of build phases and test phases for the same dashboard row into multiple scripts.
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index eb88f62..2b7912c 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -475,14 +475,14 @@ 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
+ * Initialize a dashboard run in the given build tree. The "command"
+ * argument is non-NULL when running from a command-driven (ctest_start)
+ * dashboard script, and NULL 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);
+ int Initialize(const char* binary_dir, cmCTestStartCommand* command);
//! parse the option after -D and convert it into the appropriate steps
bool AddTestsForDashboardType(std::string &targ);