This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void add_unrecognized_options(TestConfiguration& config, const std::vector<string>& unrecognized_options) | |
{ | |
// TODO: make sure all unrecognized options are of the form --option=value | |
// I'm sure the following can be made more elegant... | |
enum { OptionName, OptionValue } now_expecting = OptionName; | |
std::string option_name; | |
for(auto it = unrecognized_options.begin(); it != unrecognized_options.end(); it++) { | |
std::string option_value; |
NewerOlder