| 4686 | config.useColour = UseColour::Yes; |
| 4687 | } |
| 4688 | inline void loadTestNamesFromFile( ConfigData& config, std::string const& _filename ) { |
| 4689 | std::ifstream f( _filename.c_str() ); |
| 4690 | if( !f.is_open() ) |
| 4691 | throw std::domain_error( "Unable to load input file: " + _filename ); |
| 4692 | |
| 4693 | std::string line; |
| 4694 | while( std::getline( f, line ) ) { |
| 4695 | line = trim(line); |
| 4696 | if( !line.empty() && !startsWith( line, "#" ) ) |
| 4697 | addTestOrTags( config, "\"" + line + "\"," ); |
| 4698 | } |
| 4699 | } |
| 4700 | |
| 4701 | inline Clara::CommandLine<ConfigData> makeCommandLineParser() { |
| 4702 |
nothing calls this directly
no test coverage detected