HasTestOption

Checks if a particular test option is present in -test command-line arg options

Synopsis

Declared in <common/args.h>

bool
HasTestOption(
    ArgsManager const& args,
    std::string const& test_option);

Return Value

true if the test option was specified.

Parameters

NameDescription
argsThe argument manager to inspect.
test_optionThe test option name to look for.