Add an Android perf bisect bots and its host steps.
BUG=245361 R=ilevy@chromium.org Review URL: https://codereview.chromium.org/16391007 git-svn-id: http://src.chromium.org/svn/trunk/src/build@205641 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
0d5059c857
Коммит
9bdf14a1a4
|
@ -92,6 +92,15 @@ def FindBugs(is_release):
|
|||
'run_findbugs_plugin_tests.py')] + build_type)
|
||||
|
||||
|
||||
def BisectPerfRegression():
|
||||
buildbot_report.PrintNamedStep('Bisect Perf Regression')
|
||||
RunCmd([SrcPath('tools', 'prepare-bisect-perf-regression.py'),
|
||||
'-w', os.path.join(constants.DIR_SOURCE_ROOT, os.pardir)])
|
||||
RunCmd([SrcPath('tools', 'run-bisect-perf-regression.py'),
|
||||
'-w', os.path.join(constants.DIR_SOURCE_ROOT, os.pardir),
|
||||
'-p', bb_utils.GOMA_DIR])
|
||||
|
||||
|
||||
def main(argv):
|
||||
parser = bb_utils.GetParser()
|
||||
parser.add_option('--host-tests', help='Comma separated list of host tests.')
|
||||
|
@ -105,6 +114,8 @@ def main(argv):
|
|||
help='Indicate whether the build should be zipped.')
|
||||
parser.add_option('--extract-build', action='store_true',
|
||||
help='Indicate whether a build should be downloaded.')
|
||||
parser.add_option('--bisect-perf-regression', action='store_true',
|
||||
help='Bisect a perf regression.')
|
||||
|
||||
options, args = parser.parse_args(argv[1:])
|
||||
if args:
|
||||
|
@ -119,6 +130,8 @@ def main(argv):
|
|||
|
||||
build_type = options.factory_properties.get('target', 'Debug')
|
||||
|
||||
if options.bisect_perf_regression:
|
||||
BisectPerfRegression()
|
||||
if options.compile:
|
||||
if 'check_webview_licenses' in host_tests:
|
||||
CheckWebViewLicenses()
|
||||
|
|
|
@ -133,6 +133,7 @@ def GetBotStepMap():
|
|||
B('fyi-component-builder-tests-dbg',
|
||||
H(compile_opt, 'component=shared_library'),
|
||||
T(std_tests, ['--experimental', flakiness_server])),
|
||||
B('perf-bisect-builder-tests-dbg', H(['--bisect-perf-regression'])),
|
||||
B('perf-tests-rel', H(std_test_opts), T([], ['--install=ContentShell'])),
|
||||
B('webkit-latest-webkit-tests', H(std_test_opts),
|
||||
T(['webkit_layout', 'webkit'])),
|
||||
|
|
Загрузка…
Ссылка в новой задаче