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

Unified Diff: testing/scripts/host_info.py

Issue 2214883002: [Android] Add known devices flag for host_info. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [Android] Add known devices flag for host_info. Created 4 years, 4 months 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: testing/scripts/host_info.py
diff --git a/testing/scripts/host_info.py b/testing/scripts/host_info.py
index 37fa54b4ebdd5f9beb1689a2a9356742c328d3a4..f23352d2e6fbac0a3627f0b4af83d1c5b0b81c61 100755
--- a/testing/scripts/host_info.py
+++ b/testing/scripts/host_info.py
@@ -57,7 +57,7 @@ def get_device_info(args, failures):
return {}
with common.temporary_file() as tempfile_path:
- rc = common.run_command([
+ test_cmd = [
sys.executable,
os.path.join(args.paths['checkout'],
'third_party',
@@ -69,8 +69,12 @@ def get_device_info(args, failures):
'device_status.py'),
'--json-output', tempfile_path,
'--blacklist-file', os.path.join(
- args.paths['checkout'], 'out', 'bad_devices.json')])
+ args.paths['checkout'], 'out', 'bad_devices.json')
+ ]
+ if args.args:
+ test_cmd.extend(args.args)
+ rc = common.run_command(test_cmd)
if rc:
failures.append('device_status')
return {}
« 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