[Ns-developers] Regression testing (Was: [Bug 370] ipv4-interface.h is installed)

Gustavo Carneiro gjcarneiro at gmail.com
Tue Mar 3 03:32:32 PST 2009


2009/3/2 Raj Bhattacharjea <raj.b at gatech.edu>

> On Mon, Mar 2, 2009 at 12:29 PM, Gustavo Carneiro <gjcarneiro at gmail.com>
> wrote:
> >
> > One thing is not clear, however.  If you have a patch to test, you have
> to
> > commit it first, and only then can you test it, since the regression
> script
> > takes a branch name, not a repository.  Doesn't it kind of defeat the
> > purpose?  If a problem is detected in the patch, it will already be too
> late
> > because it was already committed...
> >
> > I hope we are not supposed to create a new temporary branch for each
> patch
> > we wish to test.  If so, you can expect me to never commit a patch again
> > during a maintenance period.  No offense, but I simply don't have time or
> > patience to jump through all these hoops in order to fix a bug.
> >
>
> I see your concern; you've convinced me.  I am willing to wait for the
> nightly test to run to see if someone broke the build on other
> platforms.  Lets say it would be _nice_ if you could test on
> ns-regression, but it isn't mandatory to bugfix.
>
> This practice however will be strictly enforced in the week or so
> leading up to the release, as you suggest.


Thanks.

But I am noticing a new problem now.  I run the ns-3-run-tests.sh script
with a -m option, to send email with the results, but the script still keeps
running in the foreground.  Since the wiki page says it can take several
hours to complete, I need to be able to logout, but if I hit Ctrl-C the
regression testing is aborted.  nohup script & does not work because I have
no write permission to the file system.  I was expecting the tests to run in
background when -m option is given.


>
>
> --
> Raj Bhattacharjea
> Georgia Institute of Technology
> School of Electrical and Computer Engineering
> Ph.D. Candidate
> Systems Analyst
> 404.894.2955
>



-- 
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert


More information about the Ns-developers mailing list