Bug 324 - Regression tests refuse to run under MinGW
Regression tests refuse to run under MinGW
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: regression
ns-3-dev
All All
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-08 17:00 UTC by Craig Dowell
Modified: 2009-06-26 06:29 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Dowell 2008-09-08 17:00:11 UTC
The regression tests (as a whole) refuse to run under MinGW + MSYS 1.0:

The system cannot find the path specified.
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error exit delayed from previous errors
Entering directory `C:\msys\1.0\home\owner\repos\ns-3-dev\build'
Compilation finished successfully 
========== Running Regression Tests ==========
Retrieving ns-3-dev-ref-traces.tar.bz2 from web.
Done.
Reference traces directory does not exist
Comment 1 Mathieu Lacage 2008-09-08 17:56:04 UTC
I vote to make that not a P1 because mingw is not a platform we support. wouldbenicetofix though.
Comment 2 Mathieu Lacage 2008-09-08 18:11:34 UTC
PATH=$PATH:/c/Python25 

should work
Comment 3 Craig Dowell 2008-09-08 18:29:02 UTC
> PATH=$PATH:/c/Python25 

I had the paths set up already.

The problem revolves around the return code from hg version which wscript uses to see if Mercurial is available.  There is no ns-3-dev-ref-traces.tar.bz2 in the releases directory since ns-3-dev is expected to use hg, so the contents of the tar file is the text of a 404 error.

I can fake the system out by manually cloning the reference traces repo, but then the realtime-udp-echo regression test asserts, and other regression tests report errors.

I am very tired of MinGW.

Comment 4 Mathieu Lacage 2009-06-26 06:29:53 UTC
I believe that this bug is fixed thanks to gustavo