Bug 1146 - help string for test.py with disabled tests
help string for test.py with disabled tests
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: test framework
pre-release
All All
: P5 normal
Assigned To: Mitch Watrous
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-15 22:01 UTC by Tom Henderson
Modified: 2011-05-19 14:56 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2011-05-15 22:01:29 UTC
When test.py is run without --enable-tests=true, it just displays this:

./test.py
...

0 of 0 tests passed (0 passed, 0 skipped, 0 failed, 0 crashed, 0 valgrind errors)

without advising the user that there are tests and how to enable them.  I suggest to modify test.py to print out something like this message if tests are disabled:

"ns-3 tests are disabled; to enable, add "--enable-tests=true" to ./waf configure or to .ns3rc"
Comment 1 Mitch Watrous 2011-05-19 14:56:21 UTC
Bug closed.

Changeset: 4b245d55faa2