|
Boost-Build : |
From: Douglas Gregor (doug.gregor_at_[hidden])
Date: 2007-10-06 20:08:36
On Oct 6, 2007, at 1:45 PM, Rene Rivera wrote:
> Douglas Gregor wrote:
>> On Oct 6, 2007, at 9:14 AM, Rene Rivera wrote:
>>
>>> Douglas Gregor wrote:
>>>> On Oct 5, 2007, at 8:24 PM, Rene Rivera wrote:
>>>>> Does it support test
>>>>> chaining?
>>>> I don't understand what this means.
>>> Can you write a test such that it depends on another test passing
>>> for it
>>> to run at all. For example we currently use this, or rather
>>> Robert R.
>>> uses it, to prevent wide char tests from running on platform that
>>> fail
>>> to have wide char support.
>>
>> Oh, sure. Just detect at configure time whether there is wide
>> character support, and only add those tests when wide character
>> support is available.
>
> OK, but I really did mean chaining of tests. This might not be the
> only
> reason to skip tests. I think there are also some that depend on
> certain
> type_traits tests for running.
Okay. One could certainly make the executables for some tests
dependent on the executables of other tests, so if the type_traits
tests fail to build then one doesn't build the tests for other
libraries that depend on type_traits.
I don't think we could make chain tests based on whether a test
*executes* correctly.
- Doug
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