View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001700CMakeCTestpublic2005-03-22 12:372007-11-25 08:41
ReporterHans Johnson 
Assigned To 
PriorityurgentSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001700: Invalid command line options do not fail
DescriptionIf invalid command line is given, a message may or may not be displayed, and the program continues to run as if nothing was given.

Examples:
input:
    ctest -R "an_invalid_test_name"
result:
    All tests are run

input:
    cmake -GXCODE_ALL_CAPS
result:
    6 minutes are spent generating an UNIX makefile system. A message is put on the screen, but is scrolled by to quickly to read.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0002276)
Bill Hoffman (manager)
2005-04-05 11:24

Actually, ctest -R junk produces:
Test project
No tests were found!!!

I have fixed cmake -Gsdfsdf so that it produces an error and a usage message and does not generate anything.
(0002278)
Mathieu Malaterre (developer)
2005-04-05 12:07

ctest/cmake are still inconsistent with the spacings:

cmake -GXcode ../CMake [ok]

cmake -G Xcode ../CMake [not ok]

ctest -I10,, [not ok]

ctest -I 10,, [ok]
(0002280)
Bill Hoffman (manager)
2005-04-05 13:00

That is a separate bug, this bug "Invalid command line options do not fail " is closed.

 Issue History
Date Modified Username Field Change
2007-11-25 08:41 Alex Neundorf Assigned To System Admin =>
2007-11-25 08:41 Alex Neundorf Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team