Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2015-11-03 07:29:23 +0000
committerPhil Nash2015-11-03 07:29:23 +0000
commitaa49823bc07cf2422866454fd04de20a47ce620f (patch)
treea36d2672d170525fc67c155072b083f7584ce40e /include
parent52a417df7b3f5a52169004ad9138bc7fb5a1ddd2 (diff)
downloadcatch3-aa49823bc07cf2422866454fd04de20a47ce620f.tar.gz
perform startRun() at the start of each test case
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_run_context.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_run_context.hpp b/include/internal/catch_run_context.hpp
index c607b432..7a93af0d 100644
--- a/include/internal/catch_run_context.hpp
+++ b/include/internal/catch_run_context.hpp
@@ -70,7 +70,6 @@ namespace Catch {
m_context.setConfig( m_config );
m_context.setResultCapture( this );
m_reporter->testRunStarting( m_runInfo );
- m_trackerContext.startRun();
}
virtual ~RunContext() {
@@ -98,6 +97,7 @@ namespace Catch {
do {
+ m_trackerContext.startRun();
do {
m_trackerContext.startCycle();
m_testCaseTracker = &SectionTracker::acquire( m_trackerContext, testInfo.name );