mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Fixed #114 (no exit code on failure)
This commit is contained in:
@@ -46,7 +46,7 @@ namespace Catch {
|
||||
std::vector<TestCaseFilters>::const_iterator itEnd = filterGroups.end();
|
||||
for(; it != itEnd; ++it ) {
|
||||
m_reporter->StartGroup( it->getName() );
|
||||
runTestsForGroup( context, *it );
|
||||
totals += runTestsForGroup( context, *it );
|
||||
if( context.aborting() )
|
||||
m_reporter->Aborted();
|
||||
m_reporter->EndGroup( it->getName(), totals );
|
||||
|
Reference in New Issue
Block a user