Subject: [Boost-build] [boost-build] testing.unit-test: hide stdout and display only on error?
From: Steve Lorimer (steve.lorimer_at_[hidden])
Date: 2015-09-29 11:09:16
I am using boost-test for my unit tests.
Typical unit test jamfile looks something like this:
import testing ;
: [ glob *.cpp ]
: <testing.launcher>"valgrind --leak-check=full --track-origins=yes
When building, everything written to stdout when running the tests is
displayed in the build output.
I would like to configure it so that stdout is written to a file, and on a
test failure, cat the file.
Is this possible?
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