Removed benchmark tests from approval tests (for now)

This commit is contained in:
Phil Nash
2017-08-05 11:26:20 +01:00
parent f45d35c980
commit 4421672fb8
8 changed files with 17 additions and 127 deletions

View File

@@ -31,6 +31,8 @@ namespace Catch {
return TestCaseInfo::MayFail;
else if( tag == "!nonportable" )
return TestCaseInfo::NonPortable;
else if( tag == "!benchmark" )
return static_cast<TestCaseInfo::SpecialProperties>( TestCaseInfo::Benchmark | TestCaseInfo::IsHidden );
else
return TestCaseInfo::None;
}

View File

@@ -30,7 +30,8 @@ namespace Catch {
ShouldFail = 1 << 2,
MayFail = 1 << 3,
Throws = 1 << 4,
NonPortable = 1 << 5
NonPortable = 1 << 5,
Benchmark = 1 << 6
};
TestCaseInfo( std::string const& _name,