ENH: Clarification of help dumped when no arguments are given and no test file is found.
This commit is contained in:
parent
5523c4a967
commit
74980113da
@ -89,6 +89,12 @@ int main (int argc, char *argv[])
|
|||||||
// arguments to run tests.
|
// arguments to run tests.
|
||||||
if(argc > 1 || !cmSystemTools::FileExists("DartTestfile.txt"))
|
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;
|
cmDocumentation doc;
|
||||||
if(doc.CheckOptions(argc, argv))
|
if(doc.CheckOptions(argc, argv))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user