Boost logo

Boost :

Subject: Re: [boost] [newbie] running tests
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-05-12 22:21:09


AMDG

On 05/12/2012 07:00 PM, Nathan Ridge wrote:
>
> I have a (probably silly) question about running Boost tests.
>
> Where can I find a summary of the results after running the tests?
>
> For example, I ran the Boost.Fusion tests by going to libs/fusion/test
> and running ../../../bjam. Here's the last few lines of the output:
>
> <snip>
> testing.capture-output ../../../bin.v2/libs/fusion/test/swap.test/gcc-4.8.0/debug/swap.run
> **passed** ../../../bin.v2/libs/fusion/test/swap.test/gcc-4.8.0/debug/swap.test
> ...updated 1098 targets...
>
> I can tell from this that the last two tests passed, but what about
> the other 1096 that scrolled off the screen? Should there not be
> a summary somewhere?
>

They all passed. If any had failed, there would
be a line saying

...failed updating xxx targets

If you want to see the output, you can use
-q (stop on error), or redirect the to a file
or pipe it to less.

In Christ,
Steven Watanabe


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