Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-04-05 06:24:42


Hi Niklaus,

sorry it took me so long to get back to you.

> > > Here is my patch. On Cygwin there were about four tests that failed
> > > before and after applying this patch.
> > >
> > > On my Powerbook (GNU/Linux with Debian testing) most Unittests fail
> > > before and after after complaining that they could not find the gcc
> > > toolset. I thought that getting a fresh copy from CVS, building bjam in
> > > jam_src, then going to the v2/test-directory should result in a working
> > > environment for tests. Or did I miss something. python test_all.py gcc
> > > didn't help neither. Both gcc and g++ are installed and have version
> > > 3.3.5.
> >
> > Did you add "using gcc ; " in user-config.jam, or in test-config.jam?
>
> Oops. I had a user-config.jam in build/v2/test instead of build/v2.

I see.

> > > Would it be helpful to setup a small daily cron job which fetches the
> > > latest CVS, rebuilds bjam, runs the test and E-mails me the output, so
> > > that I could forward it after the interesting aspects after a visual
> > > inspection to this list? Is there somewhere such a script? (I cannot
> > > guarantee that I would take a look at the output every day.)
> >
> > Victor is doing that to V2/msvc and that's rather helpful. What systems
> > can you run tests at?
>
> Cygwin (at work) and Debian GNU/Linux on PowerPC (at home).

If it's possible to automatically run tests on Cygwin (that is via some
scheduler, so that it does not require any work from you), then it would be
great. I do have cygwin installation, but the compute runs Linux most of the
time :-(

> > > Could please somebody revise this patch and commit if it is okay? Feel
> > > free to suggest more improvements.
> >
> > Did you look at the patch? ;-) It touches every single line, so it's very
> > hard to tell what you did modify. I guess you (or your editor), modified
> > line ending for the file. But anyway, since I did not modified the files
> > recently, it applies OK. I plan to apply the patch tomorrow.
>
> Sorry for your inconvenience. I looked at it and corrected
> test_system.html, but forgot to convert also BoostBuild.py.
>
> I just found out that on my PowerBook I had neither a TMP environment
> variable and that the output of `pwd` did not corresponde to the python
> os.getcwd, when I had symbolic link from /usr/src/boost -> /mnt/<somepath>.
> So my testcase failed miserably under these cicumstances.
>
> Therefore I attach a better version of the patch and the test case here.

I've applied the patch. Thanks!

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk