id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 12095,disabling test with precondition leads to error,Patrick Moran ,Raffi Enficiaud,"Minimal reproduction: {{{#!C++ #define BOOST_TEST_MODULE repro #include BOOST_AUTO_TEST_CASE(fail, *boost::unit_test::precondition([](boost::unit_test::test_unit_id){ return false; })) {} }}} Output (1.60.0 from source): {{{ Running 1 test case... *** Errors were detected in the test module ""repro""; see standard output for details }}} Based on the documentation here: http://www.boost.org/doc/libs/1_60_0/libs/test/doc/html/boost_test/tests_organization/enabling.html I assumed that disabling a test with a precondition was not supposed to be erroneous (the example had two tests fail, and one that did not run because of a failed precondition. Alltogether, two (not three) errors were reported. Also, the message indicates that we should look at stdout, but stdout has nothing. * It doesn't require the predicate to be a lambda, that was just the shortest thing I could find for a small repro. * It doesn't depend on this being the only test case - adding another case doesn't change the behaviour",Bugs,closed,Boost 1.68.0,test,Boost 1.60.0,Problem,fixed,test precondition failure,