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 e95a5529f3aa2d0b7f5c72ee10851ec955d90139..59dd94ce9b92e93df950d3620811a7000d437f79 100755 |
--- a/build/android/buildbot/bb_device_steps.py |
+++ b/build/android/buildbot/bb_device_steps.py |
@@ -77,7 +77,7 @@ INSTRUMENTATION_TESTS = dict((suite.name, suite) for suite in [ |
VALID_TESTS = set(['chromedriver', 'chrome_proxy', 'gpu', 'mojo', 'sync', |
'telemetry_perf_unittests', 'ui', 'unit', 'webkit', |
- 'webkit_layout']) |
+ 'webkit_layout', 'python_unittests']) |
RunCmd = bb_utils.RunCmd |
@@ -534,12 +534,19 @@ def RunGPUTests(options): |
EscapeBuilderName(builder_name)]) |
+def RunPythonUnitTests(_options): |
+ for suite in constants.PYTHON_UNIT_TEST_SUITES: |
+ bb_annotations.PrintNamedStep(suite) |
+ RunCmd(['build/android/test_runner.py', 'python', '-s', suite]) |
+ |
+ |
def GetTestStepCmds(): |
return [ |
('chromedriver', RunChromeDriverTests), |
('chrome_proxy', RunChromeProxyTests), |
('gpu', RunGPUTests), |
('mojo', RunMojoTests), |
+ ('python_unittests', RunPythonUnitTests), |
('sync', RunChromeSyncShellTests), |
('telemetry_perf_unittests', RunTelemetryPerfUnitTests), |
('ui', RunInstrumentationTests), |