Bug 1146

Summary: help string for test.py with disabled tests
Product: ns-3 Reporter: Tom Henderson <tomh>
Component: test frameworkAssignee: Mitch Watrous <watrous>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs
Priority: P5    
Version: pre-release   
Hardware: All   
OS: All   

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