diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-04-01 19:57:55 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-04-01 19:57:55 (GMT) |
commit | 7acfc4dc3cd8c5865ff55ed94e210776cff6876b (patch) | |
tree | f68de1f9e3885b48f37857dfaf3b5120ca93072d /Source/ctest.cxx | |
parent | eca18a2e9fcd9a33dce6d87bcca86de236598ae1 (diff) | |
download | CMake-7acfc4dc3cd8c5865ff55ed94e210776cff6876b.zip CMake-7acfc4dc3cd8c5865ff55ed94e210776cff6876b.tar.gz CMake-7acfc4dc3cd8c5865ff55ed94e210776cff6876b.tar.bz2 |
ENH: Start adding support for CTest testfiles
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r-- | Source/ctest.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx index fee6f2a..d262570 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) { |