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

Unified Diff: telemetry/telemetry/testing/run_tests.py

Issue 2236493003: [catapult android trybot] Make Telemetry tests run on Android (Closed) Base URL: git@github.com:catapult-project/catapult.git@master
Patch Set: Add stack traces and more logging Created 4 years 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
Index: telemetry/telemetry/testing/run_tests.py
diff --git a/telemetry/telemetry/testing/run_tests.py b/telemetry/telemetry/testing/run_tests.py
index 41a79e8147f24b748c5178b8712f778dc9b5f627..0206b3b0a731ba76826e3325b96c8eb3aeb0d18c 100644
--- a/telemetry/telemetry/testing/run_tests.py
+++ b/telemetry/telemetry/testing/run_tests.py
@@ -154,8 +154,7 @@ class RunTestsCommand(command_line.OptparseCommand):
if platform.GetOSName() == 'chromeos':
runner.args.jobs = 1
elif platform.GetOSName() == 'android':
- android_devs = android_device.FindAllAvailableDevices(args)
- runner.args.jobs = len(android_devs)
+ runner.args.jobs = 1
if runner.args.jobs == 0:
raise RuntimeError("No Android device found")
print 'Running tests with %d Android device(s).' % runner.args.jobs
« no previous file with comments | « telemetry/telemetry/record_wpr_unittest.py ('k') | telemetry/telemetry/web_perf/smooth_gesture_util_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698