Bug 1493 - test.py --list should show the test type
test.py --list should show the test type
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: test framework
ns-3-dev
All All
: P5 normal
Assigned To: Mitch Watrous
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-24 17:25 UTC by Peter Barnes
Modified: 2012-09-12 18:02 UTC (History)
1 user (show)

See Also:


Attachments
diff for test.py and src/core/model/test.cc (2.40 KB, application/octet-stream)
2012-08-24 17:25 UTC, Peter Barnes
Details
diff for test.py and src/core/model/test.cc (2.40 KB, patch)
2012-08-24 17:38 UTC, Peter Barnes
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Barnes 2012-08-24 17:25:46 UTC
Created attachment 1436 [details]
diff for test.py and src/core/model/test.cc

test.py --list and test-runner --list should show the test type.

Current output:
type-traits
watchdog
threaded-simulator
random-number-generators

Desired output:
unit         type-traits
unit         watchdog
unit         threaded-simulator
unit         random-number-generators

Patch attached.

The python piece looks like Fortran to me, but it's the best I could do.
Comment 1 Peter Barnes 2012-08-24 17:38:27 UTC
Created attachment 1437 [details]
diff for test.py and src/core/model/test.cc
Comment 2 Mitch Watrous 2012-09-12 18:01:44 UTC
Thanks for patch.

I made a few modifications so that now test.py outputs this:

    Test Type    Test Name
    ---------    ---------
    performance  many-uniform-random-variables-one-get-value-call
    performance  one-uniform-random-variable-many-get-value-calls
    system       buildings-pathloss-test
    system       buildings-shadowing-test
    system       devices-mesh-dot11s-regression
    system       devices-mesh-flame-regression
Comment 3 Mitch Watrous 2012-09-12 18:02:52 UTC
Bug closed.

ns-3-dev changeset:  f8fe606acbda