mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	Tag aliases feature
This commit is contained in:
		| @@ -9,11 +9,17 @@ | ||||
| #define CATCH_CONFIG_MAIN | ||||
| #include "catch.hpp" | ||||
|  | ||||
| // Some example tag aliases | ||||
| CATCH_REGISTER_TAG_ALIAS( "[@nhf]", "[failing]~[.]" ) | ||||
| CATCH_REGISTER_TAG_ALIAS( "[@tricky]", "[tricky]~[.]" ) | ||||
|  | ||||
|  | ||||
| #ifdef __clang__ | ||||
| #pragma clang diagnostic ignored "-Wpadded" | ||||
| #pragma clang diagnostic ignored "-Wweak-vtables" | ||||
| #endif | ||||
|  | ||||
|  | ||||
| template<size_t size> | ||||
| void parseIntoConfig( const char * (&argv)[size], Catch::ConfigData& config ) { | ||||
|     Catch::Clara::CommandLine<Catch::ConfigData> parser = Catch::makeCommandLineParser(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash