Don't run tests starting with ./ by default. Changed all low-level self tests to be in ./

This commit is contained in:
Phil Nash 2011-01-14 08:47:43 +00:00
parent f36d777343
commit 684baf1053
9 changed files with 42 additions and 33 deletions

View file

@ -113,7 +113,8 @@ namespace Catch
std::vector<TestCaseInfo> allTests = Hub::getTestCaseRegistry().getAllTests();
for( std::size_t i=0; i < allTests.size(); ++i )
{
runTest( allTests[i] );
if( !allTests[i].isHidden() )
runTest( allTests[i] );
}
}