diff --git a/webrtc/test/test_suite.cc b/webrtc/test/test_suite.cc index 1917605b1..c8ff742c6 100644 --- a/webrtc/test/test_suite.cc +++ b/webrtc/test/test_suite.cc @@ -25,8 +25,9 @@ TestSuite::TestSuite(int argc, char** argv) : trace_to_stderr_(NULL) { SetExecutablePath(argv[0]); testing::InitGoogleMock(&argc, argv); // Runs InitGoogleTest() internally. - // ParseCommandLineFlags fails on unrecognized flags. Call it last so that - // any flags inteded for gtest are already filtered out. + // AllowCommandLineParsing allows us to ignore flags passed on to us by + // Chromium build bots without having to explicitly disable them. + google::AllowCommandLineReparsing(); google::ParseCommandLineFlags(&argc, &argv, true); }