3 # Copyright 2013 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
7 """Runs content browser tests."""
12 from pylib
.browsertests
import dispatch
13 from pylib
.utils
import run_tests_helper
14 from pylib
.utils
import test_options_parser
17 option_parser
= optparse
.OptionParser()
18 test_options_parser
.AddGTestOptions(option_parser
)
19 options
, args
= option_parser
.parse_args(argv
)
22 option_parser
.error('Unknown argument: %s' % args
[1:])
24 run_tests_helper
.SetLogLevel(options
.verbose_count
)
25 return dispatch
.Dispatch(options
)
28 if __name__
== '__main__':
29 sys
.exit(main(sys
.argv
))