| 12247 | } |
| 12248 | |
| 12249 | void RunContext::sectionEndedEarly(SectionEndInfo const & endInfo) { |
| 12250 | if (m_unfinishedSections.empty()) |
| 12251 | m_activeSections.back()->fail(); |
| 12252 | else |
| 12253 | m_activeSections.back()->close(); |
| 12254 | m_activeSections.pop_back(); |
| 12255 | |
| 12256 | m_unfinishedSections.push_back(endInfo); |
| 12257 | } |
| 12258 | |
| 12259 | #if defined(CATCH_CONFIG_ENABLE_BENCHMARKING) |
| 12260 | void RunContext::benchmarkPreparing(std::string const& name) { |