|
Boost-Build : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2006-02-27 09:05:45
Vladimir Prus wrote:
> On Monday 27 February 2006 15:42, Markus Schöpflin wrote:
>> I want to disable compilation or execution of the pointer_vector test in
>> boost.python because executing the tests currently infinitely hangs the
>> whole regression test.
>>
>> I tried
>>
>> [ bpl-test pointer_vector : : <hp_cxx><build>no ]
>>
>> but this doesn't work, bjam seems to think <hp_cxx> is a feature:
>>
>> boost-HEAD/tools/build/v2/build/feature.jam:280: in validate-feature from
>> module feature
>> error: unknown feature "<hp_cxx>"
>>
>> What is the correct syntax for this in bbv2?
>
> <toolset>hp_cxx:<build>no
>
> See
> http://boost.org/boost-build2/doc/html/bbv2/advanced/targets.html#id2572290
Thanks for the pointer!
>> How do I disable tests for all
>> versions of a toolset,
>
> See above.
>
>> and for a specific version of a toolset?
>
> <toolset>hp_cxx-whateverversion:<build>no
I now have
[ bpl-test pointer_vector
: # files
: # requirements
# Turn off this test on HP CXX, as it hangs when executing.
<toolset><hp_cxx>:<build>no ]
This seems to be syntactically correct but still compiles the test when
invoked like this:
> bjam -n -d1 --v2 hp_cxx-71_006_tru64 pointer_vector
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(and if you don't know what ICU is then you probably don't need it).
...patience...
...found 1126 targets...
...updating 4 targets...
hp_cxx.compile.c++
../../../bin.v2/libs/python/test/pointer_vector.test/hp_cxx-71_006_tru64/debug/pointer_vector.o
hp_cxx.link.dll
../../../bin.v2/libs/python/test/pointer_vector.test/hp_cxx-71_006_tru64/debug/pointer_vector_ext.so
capture-output
../../../bin.v2/libs/python/test/pointer_vector.test/hp_cxx-71_006_tru64/debug/pointer_vector
**passed**
../../../bin.v2/libs/python/test/pointer_vector.test/hp_cxx-71_006_tru64/debug/pointer_vector.test
...updated 4 targets...
I tried to replace hp_cxx with hp_cxx-71_006_tru64, to no avail.
Markus
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