| 10480 | } |
| 10481 | |
| 10482 | void RunContext::sectionEndedEarly(SectionEndInfo const & endInfo) { |
| 10483 | if (m_unfinishedSections.empty()) |
| 10484 | m_activeSections.back()->fail(); |
| 10485 | else |
| 10486 | m_activeSections.back()->close(); |
| 10487 | m_activeSections.pop_back(); |
| 10488 | |
| 10489 | m_unfinishedSections.push_back(endInfo); |
| 10490 | } |
| 10491 | void RunContext::benchmarkStarting( BenchmarkInfo const& info ) { |
| 10492 | m_reporter->benchmarkStarting( info ); |
| 10493 | } |