[Ns-bugs] [Bug 348] regression tests do not work in private or disconnected networks

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Tue Nov 18 22:09:18 PST 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=348





--- Comment #12 from Tom Henderson <tomh at tomh.org>  2008-11-19 01:09:17 EDT ---
(In reply to comment #11)
> Well, I'm not "the guy," but we've talked about it sufficiently that I think I
> can at least try and speak for him.
> 
> The essential use case is a developer using a laptop with intermittent network
> connectivity.  The user wants to be able download our code and the regression
> traces while a network connection is available -- either by tarball or by
> Mercurial.  He then wants to take his laptop to an area in which networking is
> not available and do development locally.  He wants to be able to run the
> regression tests without having to return to a net connection.
> 
> The simplest thing seems to be to add an option to run regression without
> checking for or downloading new trace files; something along the lines of,
> 
>   ./waf --regression-static    # run tests without checking for new bits
> 
> Then, the user in question, who's name rhymes remarkably well with Henderson,
> could download the ns-3 bits and run the regression tests once while connected.
>  He could then run the above command whenever he is not connected.
> 
> Did this cover the issue, Tom?
> 

Yes.  I suggest that we just add a workaround for ns-3.3 while the build system
refactoring is being worked on.

Here are the two problems I'd like to solve ASAP:

1) I cannot run ./waf --regression when I am offline, even if I have traces in
the directory
2) I may want to suppress the downloading of regression traces even when on
line.  For instance, when I am working in a private repo that was forked from
ns-3-dev, and I'd like to keep the regression traces frozen to avoid having to
merge with ns-3-dev at inopportune times.

./waf --regression-static as Craig suggested would seem to handle both
problems.  Or else if we could leave some lint file in the directory that would
suppress downloads (e.g. a ".regression-static" file).


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list