From 8bbabb855941552cb101bd136517e1c34ea1735e Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 11 Aug 2003 12:20:31 -0400 Subject: ENH: Add documentation for -D and add missing targets --- Source/ctest.cxx | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) (limited to 'Source/ctest.cxx') diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 4b4fccd2ff..090b535e7f 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -68,6 +68,11 @@ static const cmDocumentationEntry cmDocumentationOptions[] = {"-E ", "Exclude tests matching regular expression.", "This option tells ctest to NOT run the tests whose names match the " "given regular expression."}, + {"-D ", "Execute dashboard test", + "This option tells ctest to perform act as a Dart client and perform " + "a dashboard test. All tests are ModeTest, where Mode can be Experimental, " + "Nightly, and Continuous, and Test can be Start, Update, Configure, " + "Build, Test, Coverage, and Submit."}, {0,0,0} }; @@ -155,6 +160,46 @@ int main (int argc, char *argv[]) inst.SetTest("Coverage"); inst.SetTest("Submit"); } + else if ( targ == "ExperimentalStart" ) + { + inst.SetTestModel(cmCTest::EXPERIMENTAL); + inst.SetTest("Start"); + } + else if ( targ == "ExperimentalUpdate" ) + { + inst.SetTestModel(cmCTest::EXPERIMENTAL); + inst.SetTest("Update"); + } + else if ( targ == "ExperimentalConfigure" ) + { + inst.SetTestModel(cmCTest::EXPERIMENTAL); + inst.SetTest("Configure"); + } + else if ( targ == "ExperimentalBuild" ) + { + inst.SetTestModel(cmCTest::EXPERIMENTAL); + inst.SetTest("Build"); + } + else if ( targ == "ExperimentalTest" ) + { + inst.SetTestModel(cmCTest::EXPERIMENTAL); + inst.SetTest("Test"); + } + else if ( targ == "ExperimentalPurify" ) + { + inst.SetTestModel(cmCTest::EXPERIMENTAL); + inst.SetTest("Purify"); + } + else if ( targ == "ExperimentalCoverage" ) + { + inst.SetTestModel(cmCTest::EXPERIMENTAL); + inst.SetTest("Coverage"); + } + else if ( targ == "ExperimentalSubmit" ) + { + inst.SetTestModel(cmCTest::EXPERIMENTAL); + inst.SetTest("Submit"); + } else if ( targ == "Continuous" ) { inst.SetTestModel(cmCTest::CONTINUOUS); @@ -166,6 +211,46 @@ int main (int argc, char *argv[]) inst.SetTest("Coverage"); inst.SetTest("Submit"); } + else if ( targ == "ContinuousStart" ) + { + inst.SetTestModel(cmCTest::CONTINUOUS); + inst.SetTest("Start"); + } + else if ( targ == "ContinuousUpdate" ) + { + inst.SetTestModel(cmCTest::CONTINUOUS); + inst.SetTest("Update"); + } + else if ( targ == "ContinuousConfigure" ) + { + inst.SetTestModel(cmCTest::CONTINUOUS); + inst.SetTest("Configure"); + } + else if ( targ == "ContinuousBuild" ) + { + inst.SetTestModel(cmCTest::CONTINUOUS); + inst.SetTest("Build"); + } + else if ( targ == "ContinuousTest" ) + { + inst.SetTestModel(cmCTest::CONTINUOUS); + inst.SetTest("Test"); + } + else if ( targ == "ContinuousPurify" ) + { + inst.SetTestModel(cmCTest::CONTINUOUS); + inst.SetTest("Purify"); + } + else if ( targ == "ContinuousCoverage" ) + { + inst.SetTestModel(cmCTest::CONTINUOUS); + inst.SetTest("Coverage"); + } + else if ( targ == "ContinuousSubmit" ) + { + inst.SetTestModel(cmCTest::CONTINUOUS); + inst.SetTest("Submit"); + } else if ( targ == "Nightly" ) { inst.SetTestModel(cmCTest::NIGHTLY); @@ -177,6 +262,46 @@ int main (int argc, char *argv[]) inst.SetTest("Coverage"); inst.SetTest("Submit"); } + else if ( targ == "NightlyStart" ) + { + inst.SetTestModel(cmCTest::NIGHTLY); + inst.SetTest("Start"); + } + else if ( targ == "NightlyUpdate" ) + { + inst.SetTestModel(cmCTest::NIGHTLY); + inst.SetTest("Update"); + } + else if ( targ == "NightlyConfigure" ) + { + inst.SetTestModel(cmCTest::NIGHTLY); + inst.SetTest("Configure"); + } + else if ( targ == "NightlyBuild" ) + { + inst.SetTestModel(cmCTest::NIGHTLY); + inst.SetTest("Build"); + } + else if ( targ == "NightlyTest" ) + { + inst.SetTestModel(cmCTest::NIGHTLY); + inst.SetTest("Test"); + } + else if ( targ == "NightlyPurify" ) + { + inst.SetTestModel(cmCTest::NIGHTLY); + inst.SetTest("Purify"); + } + else if ( targ == "NightlyCoverage" ) + { + inst.SetTestModel(cmCTest::NIGHTLY); + inst.SetTest("Coverage"); + } + else if ( targ == "NightlySubmit" ) + { + inst.SetTestModel(cmCTest::NIGHTLY); + inst.SetTest("Submit"); + } else if ( targ == "MemoryCheck" ) { inst.SetTestModel(cmCTest::EXPERIMENTAL); -- cgit v1.2.1