Fixed #114 (no exit code on failure)

This commit is contained in:
Phil Nash committed 2012-08-31 18:46:13 +01:00
1 parent 74d1d31997
commit 62b7039a7b
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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 );