Bug 1415

Summary: examples-to-run.py doesn't work with command line arguments
Product: ns-3 Reporter: Nicola Baldo <nicola>
Component: build systemAssignee: Gustavo J. A. M. Carneiro <gjcarneiro>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs, tomh, watrous
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   

Description Nicola Baldo 2012-04-19 11:39:29 UTC
using ns-3-dev changeset:   7860:ba8980d77369

It seems that examples-to-run.py doesn't work any more when command line arguments are specified. See for example examples/wireless/examples-to-run.py, which contains the following:

    ("multirate --totalTime=0.3s --rateManager=ns3::AarfcdWifiManager", "True", "True"), 
    ("multirate --totalTime=0.3s --rateManager=ns3::AmrrWifiManager", "True", "True"), 
    ("multirate --totalTime=0.3s --rateManager=ns3::CaraWifiManager", "True", "True"), 


I reproduce the bug in this way:

$ ./waf configure --enable-modules=internet,mobility,wifi,tools,flow-monitor,olsr,applications,point-to-point --enable-examples --enable-tests

$ ./waf --run multirate
['multirate' is built and executed correctly]

$ ./test.py -c example
[several examples are run, including several in example/wireless, but not including 'multirate']


if removing the command line arguments from 'multirate' in examples/wireless/examples-to-run.py, then it is correctly executed by ./test.py
Comment 1 Mitch Watrous 2012-04-25 21:58:18 UTC
*** Bug 1360 has been marked as a duplicate of this bug. ***
Comment 2 Mitch Watrous 2012-04-25 22:19:14 UTC
Bug closed.

ns-3-dev changeset: d0df2d56ae9c