summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-08-07 21:43:37 (GMT)
committerBrad King <brad.king@kitware.com>2003-08-07 21:43:37 (GMT)
commit74980113da741b2d0f44a678d6c768ccbe6985aa (patch)
tree5434ec831d1b1e95f82dd1132c7320b99c0f94a7
parent5523c4a967787b0fdc715e886eb3513e498baa41 (diff)
downloadCMake-74980113da741b2d0f44a678d6c768ccbe6985aa.zip
CMake-74980113da741b2d0f44a678d6c768ccbe6985aa.tar.gz
CMake-74980113da741b2d0f44a678d6c768ccbe6985aa.tar.bz2
ENH: Clarification of help dumped when no arguments are given and no test file is found.
-rw-r--r--Source/ctest.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index 3236c1d..4b4fccd 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -89,6 +89,12 @@ int main (int argc, char *argv[])
// arguments to run tests.
if(argc > 1 || !cmSystemTools::FileExists("DartTestfile.txt"))
{
+ if(argc == 1)
+ {
+ std::cout << "*********************************" << std::endl;
+ std::cout << "No test configuration file found!" << std::endl;
+ std::cout << "*********************************" << std::endl;
+ }
cmDocumentation doc;
if(doc.CheckOptions(argc, argv))
{