Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: build/android/buildbot/bb_device_steps.py

Issue 726373006: Fix call to run telemetry_unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5d0181337a92c0ee4677226a8bd04ddef4a5d2b9..400af3bb9bb357b195f32f01ce3cd3a3024f02b4 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -473,8 +473,18 @@ def RunUnitTests(options):
def RunTelemetryUnitTests(options):
tonyg 2014/11/20 00:40:05 This is a copy/paste from RunTelemetryPerfUnitTest
- suites = gtest_config.TELEMETRY_EXPERIMENTAL_TEST_SUITES
- RunTestSuites(options, suites)
+ """Runs the telemetry unit tests.
+
+ Args:
+ options: options object.
+ """
+ InstallApk(options, INSTRUMENTATION_TESTS['ChromeShell'], False)
+ args = ['--browser', 'android-chrome-shell']
+ devices = android_commands.GetAttachedDevices()
+ if devices:
+ args = args + ['--device', devices[0]]
+ bb_annotations.PrintNamedStep('telemetry_unittests')
+ RunCmd(['tools/telemetry/run_tests'] + args)
def RunInstrumentationTests(options):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698