|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-09-07 09:27:50
Hi Jürgen,
> > - gcc, borland, msvc on cygwin
> > - gcc, borland, msvc on NT
>
> So, I'm back from vacation and slowly getting to work again.
Welcome back!
> I've started with trying to run the test-suite on linux.
>
> > - Get the source tree of Boost.Build (located at tools/build in
> > Boost) - Have Python installed. Version 2.1 is known to work.
> > Build Boost.Jam. See $boost_build_root/jam_src/index.html for
> > instructions. - Configure at least one toolset. You can edit
> > site-config.jam or user-config.jam to add new toolsets. Or you can
> > create file test-config.jam in $boost_build_root/test directory. In
> > this case, site-config.jam and user-config.jam will be ignored for
> > testing.
> >
> > When all is done, you can run the tests with
> >
> > python test_all.py
>
> This does not work for me because I've got
>
> # using gcc : 3.4 : distcc /usr/local/gcc-3.4.1/bin/g++ ;
> using gcc : 3.4 : /opt/icecream/bin/g++ ;
> using gcc : 3.5 : /usr/local/gcc-cvs/bin/g++ ;
>
> in my user-config.jam. The test script then expects the results in
> $TEST/bin/gcc/debug while BB happily creates $TEST/bin/gcc-3.4/debug
> directories. See out.txt.gz for details
Ah, yes. You need
python test_all.py gcc-3.4
or
python test_all.py gcc-3.5
in that case.
> > which will use the default toolset, or you can specify toolset on the
> > command line, for example:
> >
> > python test_all.py borland
>
> Please find output for
> python test_all.py gcc-3.4 attached in result.txt.gz
>
> > If everything's OK, you'll see a list of passed tests. Otherwise, a
> > failure will be reported.
>
> Well, it fails on some test because of some unexpected ar output
Yes, I see. Why does 'ar' produce this output, it does not do it for me....
> and on generators_test with
>
> error: Type UI is already registered
>
> I think this is caused by using Qt from user-config.jam.
>
> I think I should better create a special test-config.jam for the tests,
> right ?
Yes, that's exactly what I do for my own tests.
- Volodya
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