Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-01-24 11:35:44


> >> c) The ability to specify an execution time limit so that if the
> >> program goes off into space it doesn't waste an in ordinate amount
> >> of time. (perhaps this would be easier to include in bjam)
> >
> > You could specify a timeout for the test case.
>
> where do I do that? it would seem to me that this would have to be done by
> bjam or by a separate thread in the test library. (probably not a great
> idea)

You could specify timeout in a call test_suite::add( test_case*,
expected_failures, timeout )

Gennadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk