[Android Buildbot] Add a GPU builder cum tester.

BUG=256576

Review URL: https://chromiumcodereview.appspot.com/23601004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221610 0039d316-1c4b-4281-b951-d872f2087c98
parent 58e90622
...@@ -66,8 +66,8 @@ INSTRUMENTATION_TESTS = dict((suite.name, suite) for suite in [ ...@@ -66,8 +66,8 @@ INSTRUMENTATION_TESTS = dict((suite.name, suite) for suite in [
'webview:android_webview/test/data/device_files'), 'webview:android_webview/test/data/device_files'),
]) ])
VALID_TESTS = set(['chromedriver', 'ui', 'unit', 'webkit', 'webkit_layout', VALID_TESTS = set(['chromedriver', 'gpu', 'ui', 'unit', 'webkit',
'webrtc']) 'webkit_layout', 'webrtc'])
RunCmd = bb_utils.RunCmd RunCmd = bb_utils.RunCmd
...@@ -303,9 +303,16 @@ def RunWebRTCTests(options): ...@@ -303,9 +303,16 @@ def RunWebRTCTests(options):
RunTestSuites(options, gtest_config.WEBRTC_TEST_SUITES) RunTestSuites(options, gtest_config.WEBRTC_TEST_SUITES)
def RunGPUTests(_):
bb_annotations.PrintNamedStep('gpu_tests')
RunCmd(['content/test/gpu/run_gpu_test',
'--browser=android-content-shell', 'pixel'])
def GetTestStepCmds(): def GetTestStepCmds():
return [ return [
('chromedriver', RunChromeDriverTests), ('chromedriver', RunChromeDriverTests),
('gpu', RunGPUTests),
('unit', RunUnitTests), ('unit', RunUnitTests),
('ui', RunInstrumentationTests), ('ui', RunInstrumentationTests),
('webkit', RunWebkitTests), ('webkit', RunWebkitTests),
......
...@@ -159,6 +159,7 @@ def GetBotStepMap(): ...@@ -159,6 +159,7 @@ def GetBotStepMap():
B('fyi-component-builder-tests-dbg', B('fyi-component-builder-tests-dbg',
H(compile_step, extra_gyp='component=shared_library'), H(compile_step, extra_gyp='component=shared_library'),
T(std_tests, ['--experimental', flakiness_server])), T(std_tests, ['--experimental', flakiness_server])),
B('gpu-builder-tests-dbg', H(compile_step), T(['gpu'])),
B('perf-bisect-builder-tests-dbg', H(['bisect_perf_regression'])), B('perf-bisect-builder-tests-dbg', H(['bisect_perf_regression'])),
B('perf-tests-rel', H(std_test_steps), B('perf-tests-rel', H(std_test_steps),
T([], ['--install=ChromiumTestShell'])), T([], ['--install=ChromiumTestShell'])),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment