Boost logo

Boost :

From: James E. King III (jking_at_[hidden])
Date: 2019-06-24 11:36:21


Currently b2 only shows output when a test fails unexpectedly. If I
want to build and run a test and see the stdout from the test all in
one command, is there a b2 option that would do that? For example,
the output from predef's "info_as_cpp" test is useful, and I'd like to
have a single command line that builds it, runs it, and shows stdout.
I don't see a way to do this with b2, even with the -d+n flags.

I can do it this way, but it's fragile:

$(b2 -a -ox info_as_cpp | grep 'gcc.link' | cut -d' ' -f2)

- Jim


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