diff options
| author | Phil Nash | 2015-07-07 08:25:15 +0100 |
|---|---|---|
| committer | Phil Nash | 2015-07-07 08:25:15 +0100 |
| commit | e6b365dc8cdc40b9f7875450765d8aa26fa178f9 (patch) | |
| tree | 693b2e2cb16f868e598e92505c9186def9072e06 /single_include | |
| parent | 02e1966db3fc28cc7a61d731bb6dd7ed645cc9b2 (diff) | |
| download | catch3-1.2.1-develop.5.tar.gz | |
dev build 5v1.2.1-develop.5
Diffstat (limited to 'single_include')
| -rw-r--r-- | single_include/catch.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/single_include/catch.hpp b/single_include/catch.hpp index 05bf3471..c42c72df 100644 --- a/single_include/catch.hpp +++ b/single_include/catch.hpp @@ -1,6 +1,6 @@ /* - * Catch v1.2.1-develop.4 - * Generated: 2015-07-06 06:21:18.816844 + * Catch v1.2.1-develop.5 + * Generated: 2015-07-07 08:24:50.226161 * ---------------------------------------------------------- * This file has been merged from multiple headers. Please don't edit it directly * Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved. @@ -4279,6 +4279,10 @@ namespace Catch { .describe( "load test names to run from a file" ) .bind( &loadTestNamesFromFile, "filename" ); + cli["-#"]["--filenames-as-tags"] + .describe( "adds a tag for the filename" ) + .bind( &ConfigData::filenamesAsTags ); + // Less common commands which don't have a short form cli["--list-test-names-only"] .describe( "list all/matching test cases names only" ) @@ -4300,10 +4304,6 @@ namespace Catch { .describe( "force colourised output" ) .bind( &ConfigData::forceColour ); - cli["--filenames-as-tags"] - .describe( "adds a tag for the filename" ) - .bind( &ConfigData::filenamesAsTags ); - return cli; } @@ -5626,7 +5626,7 @@ namespace Catch { if( lastDot != std::string::npos ) filename = filename.substr( 0, lastDot ); - tags.insert( "@" + filename ); + tags.insert( "#" + filename ); setTags( test, tags ); } } @@ -6823,7 +6823,7 @@ namespace Catch { return os; } - Version libraryVersion( 1, 2, 1, "develop", 4 ); + Version libraryVersion( 1, 2, 1, "develop", 5 ); } |