diff options
author | sivachandra@chromium.org <sivachandra@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-11 21:42:33 +0000 |
---|---|---|
committer | sivachandra@chromium.org <sivachandra@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-11 21:42:33 +0000 |
commit | 9fb9ae640715a73101c83bfd927fb38d4667b8b9 (patch) | |
tree | 4d80b7e86d779b776dcfd5ed7a85bf7b83e5759a /build | |
parent | a245006a5f6f1c5abc7f3f7aecc56444847bfa48 (diff) | |
download | chromium_src-9fb9ae640715a73101c83bfd927fb38d4667b8b9.zip chromium_src-9fb9ae640715a73101c83bfd927fb38d4667b8b9.tar.gz chromium_src-9fb9ae640715a73101c83bfd927fb38d4667b8b9.tar.bz2 |
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: svn://svn.chromium.org/chrome/trunk/src@205641 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-x | build/android/buildbot/bb_host_steps.py | 13 | ||||
-rwxr-xr-x | build/android/buildbot/bb_run_bot.py | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/build/android/buildbot/bb_host_steps.py b/build/android/buildbot/bb_host_steps.py index 7539c42..58d2e0e 100755 --- a/build/android/buildbot/bb_host_steps.py +++ b/build/android/buildbot/bb_host_steps.py @@ -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() diff --git a/build/android/buildbot/bb_run_bot.py b/build/android/buildbot/bb_run_bot.py index bf831e0..17e729e 100755 --- a/build/android/buildbot/bb_run_bot.py +++ b/build/android/buildbot/bb_run_bot.py @@ -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'])), |