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

Unified Diff: tools/telemetry/telemetry/unittest_util/system_stub.py

Issue 732473003: A more robust way to set/query CPU properties on devices (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed "mock" interface used by telemetry for testing 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 | « build/android/pylib/perf/perf_control_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/unittest_util/system_stub.py
diff --git a/tools/telemetry/telemetry/unittest_util/system_stub.py b/tools/telemetry/telemetry/unittest_util/system_stub.py
index dd0671c178b2f972e4f5e27033892602a740c05e..ef35c6a7adf92f170ecdf26f1e155128d8a2930a 100644
--- a/tools/telemetry/telemetry/unittest_util/system_stub.py
+++ b/tools/telemetry/telemetry/unittest_util/system_stub.py
@@ -72,7 +72,7 @@ class AdbDevice(object):
self.system_properties['ro.product.cpu.abi'] = 'armeabi-v7a'
self.old_interface = AndroidCommands()
- def RunShellCommand(self, args):
+ def RunShellCommand(self, args, **_kwargs):
if isinstance(args, basestring):
args = shlex.split(args)
handler = self.shell_command_handlers[args[0]]
« no previous file with comments | « build/android/pylib/perf/perf_control_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698