Added [!nonportable] tag

This commit is contained in:
Phil Nash committed 2017-01-23 17:44:55 +00:00
1 parent f347611403
commit 31c23b9489
3 files changed
+6 -1

No files matched your search

+2 -1
View File
@@ -29,7 +29,8 @@ namespace Catch {
IsHidden = 1 << 1,
ShouldFail = 1 << 2,
MayFail = 1 << 3,
Throws = 1 << 4
Throws = 1 << 4,
NonPortable = 1 << 5
};
TestCaseInfo( std::string const& _name,
@@ -26,6 +26,8 @@ namespace Catch {
return TestCaseInfo::ShouldFail;
else if( tag == "!mayfail" )
return TestCaseInfo::MayFail;
else if( tag == "!nonportable" )
return TestCaseInfo::NonPortable;
else
return TestCaseInfo::None;
}