Merge "Unify log level for tests"
This commit is contained in:
committed by
Android (Google) Code Review
commit
334d966f12
@@ -38,7 +38,7 @@ void show_menu(char* prog_name) {
|
||||
std::cout << " e.g. adb shell '" << prog_name << " --server=\"url\"'"
|
||||
<< std::endl;
|
||||
|
||||
std::cout << " --verbose" << std::endl;
|
||||
std::cout << " --verbose or -v" << std::endl;
|
||||
std::cout << " increase logging verbosity (may be repeated)" << std::endl
|
||||
<< std::endl;
|
||||
|
||||
@@ -354,7 +354,7 @@ bool WvCdmTestBase::Initialize(int argc, char **argv) {
|
||||
// Skip the first element, which is the program name.
|
||||
const std::vector<std::string> args(argv + 1, argv + argc);
|
||||
for (const std::string& arg : args) {
|
||||
if (arg == "--verbose") {
|
||||
if (arg == "--verbose" || arg == "-v") {
|
||||
++verbosity;
|
||||
} else if (arg == "--no_filter") {
|
||||
filter_tests = false;
|
||||
|
||||
Reference in New Issue
Block a user