summaryrefslogtreecommitdiff
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-04-01 14:57:55 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-04-01 14:57:55 -0500
commit7acfc4dc3cd8c5865ff55ed94e210776cff6876b (patch)
treef68de1f9e3885b48f37857dfaf3b5120ca93072d /Source/ctest.cxx
parenteca18a2e9fcd9a33dce6d87bcca86de236598ae1 (diff)
downloadcmake-7acfc4dc3cd8c5865ff55ed94e210776cff6876b.tar.gz
ENH: Start adding support for CTest testfiles
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index fee6f2a852..d26257027c 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -138,6 +138,10 @@ static const cmDocumentationEntry cmDocumentationOptions[] =
{"--test-command", "The test to run with the --build-and-test option.", "" },
{"--tomorrow-tag", "Nightly or experimental starts with next day tag.",
"This is useful if the build will not finish in one day." },
+ {"--ctest-config", "The configuration file used to initialize CTest state when submitting dashboards.",
+ "This option tells CTest to use different initialization file instead of "
+ "DartConfiguration.tcl. This way multiple initialization files can be used "
+ "for example to submit to multiple dashboards." },
{0,0,0}
};
@@ -166,7 +170,8 @@ int main (int argc, char *argv[])
// If there is a testing input file, check for documentation options
// only if there are actually arguments. We want running without
// arguments to run tests.
- if(argc > 1 || !cmSystemTools::FileExists("DartTestfile.txt"))
+ if(argc > 1 || !cmSystemTools::FileExists("DartTestfile.txt") &&
+ !cmSystemTools::FileExists("CTestTestfile.cmake"))
{
if(argc == 1)
{