|
Boost Testing : |
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-10-02 22:56:07
David Abrahams wrote:
> on Thu Sep 13 2007, Rene Rivera <grafikrobot-AT-gmail.com> wrote:
>
>> Beman Dawes wrote:
>>> In the "Running Boost Regression Tests" docs, there is no mention in the
>>> Installation section of the need to provide a user-config.jam file. Yet
>>> without such a file, bjam fails because a couple of the tests require
>>> python.
>>>
>>> There should be a bullet item saying you need to supply a
>>> user-config.jam file, what it should contain, and where it should go.
>>>
>>> The minimal contents, according to the Boost.Python docs, are:
>>>
>>> import toolset : using ;
>>> using python ;
>> I believe Dave mentioned he was going to remove the conditional which
>> doesn't define the BPL libs if Python isn't configured.
>
> I mentioned what, now? What conditional?
The conditional in libs/python/build/Jamfile.v2 that says:
if [ python.configured ] {
project boost/python ...
lib boost_python ...
}
else
{
ECHO "warning: Python location is not configured" ;
ECHO "warning: the Boost.Python library won't be built" ;
}
> When libs/python/build/Jamfile.v2 is read by bjam, unless you have a
> very strange installation, python will be auto-configured. Invoking
> all our tests *should* cause bjam to read that file.
Well yes. But, currently, if a tester doesn't have Python configured
they get a total halt in testing. Without the condition they would get
compile, link, and other errors... Probably :-)
Of course I would really like to have some feedback on the "unavailable"
target idea I posted about for cases such as these
<http://lists.boost.org/boost-build/2007/08/17177.php>.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo