| 4040 | : ShowDurations::Never; |
| 4041 | } |
| 4042 | inline void loadTestNamesFromFile( ConfigData& config, std::string const& _filename ) { |
| 4043 | std::ifstream f( _filename.c_str() ); |
| 4044 | if( !f.is_open() ) |
| 4045 | throw std::domain_error( "Unable to load input file: " + _filename ); |
| 4046 | |
| 4047 | std::string line; |
| 4048 | while( std::getline( f, line ) ) { |
| 4049 | line = trim(line); |
| 4050 | if( !line.empty() && !startsWith( line, "#" ) ) |
| 4051 | addTestOrTags( config, "\"" + line + "\"," ); |
| 4052 | } |
| 4053 | } |
| 4054 | |
| 4055 | inline Clara::CommandLine<ConfigData> makeCommandLineParser() { |
| 4056 |
nothing calls this directly
no test coverage detected