perform startRun() at the start of each test case

This commit is contained in:
Phil Nash 2015-11-03 07:29:23 +00:00
parent 52a417df7b
commit aa49823bc0

View File

@ -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 );