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

Unified Diff: scripts/slave/unittests/telemetry_test.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: Comments 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 | « scripts/slave/telemetry.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/unittests/telemetry_test.py
diff --git a/scripts/slave/unittests/telemetry_test.py b/scripts/slave/unittests/telemetry_test.py
index 1ce0604e846b6a20c26c44c345a87c402c72a99b..01c646caec87f794d403f5ab77ed663105e9eec0 100755
--- a/scripts/slave/unittests/telemetry_test.py
+++ b/scripts/slave/unittests/telemetry_test.py
@@ -74,8 +74,7 @@ class TelemetryTest(unittest.TestCase):
runtest = os.path.abspath(os.path.join(SCRIPT_DIR, '..', 'runtest.py'))
- expectedText = (['\'adb\' \'root\'',
- '\'adb\' \'wait-for-device\'',
+ expectedText = ([
'\'%s\' ' % sys.executable +
'\'%s\' \'--run-python-script\' \'--target\' \'Release\' ' % runtest +
'\'--no-xvfb\' ' +
@@ -85,6 +84,8 @@ class TelemetryTest(unittest.TestCase):
'"step_name": "sunspider", "test_name": "sunspider", ' +
'"target_platform": "linux2", "target_os": "android", ' +
'"show_perf_results": true}\' ' +
+ '\'src/build/android/test_runner.py\' \'perf\' \'-v\' ' +
+ '\'--single-step\' ' +
'\'src/tools/perf/run_benchmark\' \'-v\' ' +
'\'--output-format=buildbot\' ' +
'\'--browser=android-chromium-testshell\' \'sunspider\''
@@ -104,8 +105,7 @@ class TelemetryTest(unittest.TestCase):
runtest = os.path.abspath(os.path.join(SCRIPT_DIR, '..', 'runtest.py'))
- expectedText = (['\'adb\' \'root\'',
- '\'adb\' \'wait-for-device\'',
+ expectedText = ([
'\'%s\' ' % sys.executable +
'\'%s\' \'--run-python-script\' \'--target\' \'Release\' ' % runtest +
'\'--no-xvfb\' ' +
@@ -116,6 +116,8 @@ class TelemetryTest(unittest.TestCase):
'"step_name": "sunspider", "test_name": "sunspider", ' +
'"target_platform": "linux2", "target_os": "android", ' +
'"show_perf_results": true}\' ' +
+ '\'src/build/android/test_runner.py\' \'perf\' \'-v\' ' +
+ '\'--single-step\' ' +
'\'src/tools/perf/run_benchmark\' \'-v\' ' +
'\'--output-format=buildbot\' ' +
'\'--profile-dir=fake_dir\' '+
« no previous file with comments | « scripts/slave/telemetry.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698