Set group name to -n parameter (or exe name)

- As discussed in #469
This commit is contained in:
Phil Nash
2015-07-28 18:26:09 +01:00
parent 0edebf41b0
commit 85c8074784
3 changed files with 4 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ namespace Catch {
Totals totals;
context.testGroupStarting( "all tests", 1, 1 ); // deprecated?
context.testGroupStarting( context.config()->name(), 1, 1 );
TestSpec testSpec = m_config->testSpec();
if( !testSpec.hasFilters() )
@@ -68,7 +68,7 @@ namespace Catch {
++it )
m_reporter->skipTest( *it );
context.testGroupEnded( "all tests", totals, 1, 1 );
context.testGroupEnded( context.config()->name(), totals, 1, 1 );
return totals;
}