| 10218 | } |
| 10219 | |
| 10220 | void RunContext::sectionEndedEarly(SectionEndInfo const & endInfo) { |
| 10221 | if (m_unfinishedSections.empty()) |
| 10222 | m_activeSections.back()->fail(); |
| 10223 | else |
| 10224 | m_activeSections.back()->close(); |
| 10225 | m_activeSections.pop_back(); |
| 10226 | |
| 10227 | m_unfinishedSections.push_back(endInfo); |
| 10228 | } |
| 10229 | void RunContext::benchmarkStarting( BenchmarkInfo const& info ) { |
| 10230 | m_reporter->benchmarkStarting( info ); |
| 10231 | } |