Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
--result_code

This argument controls whether or not the test runner returns an exit code corresponding to a summary of the test execution or zero. The summary result code is determined as follows:

Result Code

Description

0 (boost::exit_success)

All executed tests passed.

200 (boost::exit_exception_failure)

Failure due to uncaught exception.

201 (boost::exit_test_failure)

One or more executed tests failed.

Value

Meaning

no

Always return zero.

yes (default)

Return a status code indicating the summary of the tests executed.

Environment variable: BOOST_TEST_RESULT_CODE


PrevUpHomeNext