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

Unified Diff: scripts/slave/telemetry.py

Issue 62563003: Android: adds "test_runner.py perf -vvv --single-step" in telemetry.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 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 | scripts/slave/unittests/telemetry_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/telemetry.py
diff --git a/scripts/slave/telemetry.py b/scripts/slave/telemetry.py
index 34e7079564dab0608b4beaac838037a0666d531b..64fd5b3e481e9483b7d0e450b652cdffc5a1f191 100755
--- a/scripts/slave/telemetry.py
+++ b/scripts/slave/telemetry.py
@@ -17,7 +17,7 @@ SCRIPT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
def _GetPythonTestCommand(py_script, target, build_dir, arg_list=None,
- wrapper_args=None, fp=None):
+ wrapper_args=None, fp=None):
"""Synthesizes a command line to run runtest.py."""
cmd = [sys.executable,
os.path.join(SCRIPT_DIR, 'slave', 'runtest.py'),
@@ -87,8 +87,11 @@ def _GenerateTelemetryCommandSequence(options):
# Run the test against the target chrome build.
browser = target.lower()
+ wrapper_args = None
if target_os == 'android':
browser = options.target_android_browser
+ wrapper_args = ['src/build/android/test_runner.py', 'perf', '-vvv',
frankf 2013/11/11 22:01:53 nit: Do you really want to log at DEBUG level? We
+ '--single-step']
# If an executable is passed, use that instead.
if browser_exe:
browser_info = ['--browser=exact',
@@ -98,7 +101,8 @@ def _GenerateTelemetryCommandSequence(options):
test_args = list(common_args)
test_args.extend(browser_info)
test_args.extend(test_specification)
- test_cmd = _GetPythonTestCommand(script, target, build_dir, test_args, fp=fp)
+ test_cmd = _GetPythonTestCommand(script, target, build_dir, test_args,
+ wrapper_args=wrapper_args, fp=fp)
commands.append(test_cmd)
# Run the test against the target chrome build for different user profiles on
« no previous file with comments | « no previous file | scripts/slave/unittests/telemetry_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698