Bug 390 - regression tests can't open input files
regression tests can't open input files
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: build system
pre-release
All All
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-24 06:24 UTC by Mathieu Lacage
Modified: 2008-11-05 22:39 UTC (History)
1 user (show)

See Also:


Attachments
proposed patch (3.18 KB, patch)
2008-10-24 06:26 UTC, Mathieu Lacage
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Lacage 2008-10-24 06:24:05 UTC
the main problem is that the cwd of regression tests changes when they are run as --regression and as --regression-generate so, it is impossible to specify in a python test program the relative position of the input file with regard to the cwd of the regression test.
Comment 1 Mathieu Lacage 2008-10-24 06:26:12 UTC
Created attachment 281 [details]
proposed patch

This patch changes the cwd of a test during --regression to be at the same level of depth as when running as --regression-generate
Comment 2 Mathieu Lacage 2008-10-24 06:26:52 UTC
this bug is blocking the addition of a new regression test for the ns2 mobility file reader.