mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Fix TrackerBase::close children completion check
Now verifies that all children have completed, instead of only the last.
This commit is contained in:
		| @@ -139,7 +139,7 @@ namespace TestCaseTracking { | ||||
|                 m_runState = CompletedSuccessfully; | ||||
|                 break; | ||||
|             case ExecutingChildren: | ||||
|                 if( m_children.empty() || m_children.back()->isComplete() ) | ||||
|                 if( std::all_of(m_children.begin(), m_children.end(), [](ITrackerPtr const& t){ return t->isComplete(); }) ) | ||||
|                     m_runState = CompletedSuccessfully; | ||||
|                 break; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Steven Franzen
					Steven Franzen