Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#13435 closed Bugs (fixed)

BOOST_TEST_GLOBAL_CONFIGURATION

Reported by: gast128@… Owned by: Raffi Enficiaud
Milestone: Boost 1.67.0 Component: test
Version: Boost 1.65.0 Severity: Problem
Keywords: Cc:

Description

BOOST_TEST_GLOBAL_CONFIGURATION should be used to inject special loggers. However I see that the destructor of such class is run before the report is generated:

framework::run();  //destructor is called

results_reporter::make_report();  // report with 'ostr << "*** No errors detected\n";'

Change History (3)

comment:1 by Raffi Enficiaud, 5 years ago

Milestone: To Be DeterminedBoost 1.67.0
Owner: changed from Gennadiy Rozental to Raffi Enficiaud
Status: newassigned

Fix in branch topic/13435-report-generation-before-observer-shutdown. If you have time to check, it would be nice.

comment:2 by Raffi Enficiaud, 5 years ago

Resolution: fixed
Status: assignedclosed

In master

comment:3 by gast128@…, 5 years ago

Thx for the fix. I am not acquainted with Git so it's hard for me to test but I will probably check it when we upgrade.

Note: See TracTickets for help on using tickets.