Bugzilla – Bug 478
./waf --regression should be able to, by default, look for traces in ../
Last modified: 2009-01-24 10:48:32 UTC
If build.py/download.py is used, a python constant to store where the reference traces are located, and ./waf doesn't require a "--with-regression-traces" argument at configure stage. If, however, another repo is cloned or copied in parallel to the existing ns-3-dev, one must specify the regression trace location in configure. For my workflow, it would be convenient if ./waf --regression in ns-3-dev checked first whether --with-regression-traces was set, and fallback to checking ../ns-3-dev-ref-traces by default. This is because I often keep a sync'ed ns-3-dev in my local filesystem and just copy it to work on specific bugs or work projects (such as ns-3-dev-bug458). I would even be fine with setting a local env var such as DEFAULT_NS3_REF_TRACES that could be checked as a default if --with-regression-traces were not specified. Such an env. var option would enforce less policy. Same could hold true for pybindgen and nsc. Another option would be to use something like "build.py -n ..." but ./waf is hard to configure in that manner.