| Index: build/android/buildbot/bb_device_steps.py
|
| diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py
|
| index e5df563c5f46bf257f94814c3aa1ca828fa3309b..b9a9937e1db33937689c93f99028193380f2d760 100755
|
| --- a/build/android/buildbot/bb_device_steps.py
|
| +++ b/build/android/buildbot/bb_device_steps.py
|
| @@ -94,10 +94,22 @@ INSTALLABLE_PACKAGES = dict((package.name, package) for package in (
|
| 'ChromeDriverWebViewShell.apk',
|
| 'org.chromium.chromedriver_webview_shell')]))
|
|
|
| -VALID_TESTS = set(['chromedriver', 'chrome_proxy', 'components_browsertests',
|
| - 'gpu', 'python_unittests', 'telemetry_unittests',
|
| - 'telemetry_perf_unittests', 'ui', 'unit', 'webkit',
|
| - 'webkit_layout'])
|
| +VALID_TESTS = set([
|
| + 'base_junit_tests',
|
| + 'chromedriver',
|
| + 'chrome_proxy',
|
| + 'components_browsertests',
|
| + 'gfx_unittests',
|
| + 'gl_unittests',
|
| + 'gpu',
|
| + 'python_unittests',
|
| + 'telemetry_unittests',
|
| + 'telemetry_perf_unittests',
|
| + 'ui',
|
| + 'unit',
|
| + 'webkit',
|
| + 'webkit_layout'
|
| +])
|
|
|
| RunCmd = bb_utils.RunCmd
|
|
|
| @@ -178,6 +190,11 @@ def RunTestSuites(options, suites, suites_options=None):
|
| _RunTest(options, cmd, suite)
|
|
|
|
|
| +def RunJunitSuite(suite):
|
| + bb_annotations.PrintNamedStep(suite)
|
| + RunCmd(['build/android/test_runner.py', 'junit', '-s', suite])
|
| +
|
| +
|
| def RunChromeDriverTests(options):
|
| """Run all the steps for running chromedriver tests."""
|
| bb_annotations.PrintNamedStep('chromedriver_annotation')
|
| @@ -537,6 +554,11 @@ def RunGPUTests(options):
|
| '--browser=android-content-shell', 'webgl_conformance',
|
| '--webgl-conformance-version=1.0.1'])
|
|
|
| + bb_annotations.PrintNamedStep('android_webview_webgl_conformance_tests')
|
| + RunCmd(['content/test/gpu/run_gpu_test.py',
|
| + '--browser=android-webview-shell', 'webgl_conformance',
|
| + '--webgl-conformance-version=1.0.1'])
|
| +
|
| bb_annotations.PrintNamedStep('gpu_rasterization_tests')
|
| RunCmd(['content/test/gpu/run_gpu_test.py',
|
| 'gpu_rasterization',
|
| @@ -556,10 +578,16 @@ def RunPythonUnitTests(_options):
|
|
|
| def GetTestStepCmds():
|
| return [
|
| + ('base_junit_tests',
|
| + lambda _options: RunJunitSuite('base_junit_tests')),
|
| ('chromedriver', RunChromeDriverTests),
|
| ('chrome_proxy', RunChromeProxyTests),
|
| ('components_browsertests',
|
| lambda options: RunTestSuites(options, ['components_browsertests'])),
|
| + ('gfx_unittests',
|
| + lambda options: RunTestSuites(options, ['gfx_unittests'])),
|
| + ('gl_unittests',
|
| + lambda options: RunTestSuites(options, ['gl_unittests'])),
|
| ('gpu', RunGPUTests),
|
| ('python_unittests', RunPythonUnitTests),
|
| ('telemetry_unittests', RunTelemetryUnitTests),
|
|
|