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

Issue 11876021: Support startup performance tests on Galaxy S3 (Closed)

Created:
7 years, 11 months ago by aberent
Modified:
7 years, 11 months ago
Reviewers:
bulach, frankf
CC:
chromium-reviews, ilevy+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, peter+watch_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Support startup performance tests on Galaxy S3 The Galaxy S3's build of android is of type 'user' (as one would expect for a production device). This prevents the use of 'adb root', even on rooted devices, however one can root an S3 and install an 'su' command on it without changing the android build. The changes in this commit switch to using the 'su' command in place of 'adb root'. Since writing to a protected file using su is quite complex they encapsulate this in a the function SetProtectedFileContents() and make sure that all calls in the Android test framework that write to protected files call this. Also, allow variable wait for logcat entries. This is now needed since other test changes mean that the 10 second default may not be adequate in some cases. BUG=169011, 163336 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177508

Patch Set 1 #

Total comments: 4

Patch Set 2 : S3 startup performance tests - fixes to file_changer #

Total comments: 2

Patch Set 3 : Run startup tests on S3 - write protected files #

Total comments: 6

Patch Set 4 : Support startup performance tests on Galaxy S3 - code review fixes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -24 lines) Patch
M build/android/pylib/android_commands.py View 1 2 3 7 chunks +49 lines, -13 lines 0 comments Download
M build/android/pylib/device_stats_monitor.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M build/android/pylib/flag_changer.py View 1 2 3 1 chunk +2 lines, -2 lines 1 comment Download
M build/android/pylib/perf_tests_helper.py View 1 2 2 chunks +4 lines, -7 lines 0 comments Download
M build/android/pylib/valgrind_tools.py View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
aberent
7 years, 11 months ago (2013-01-14 16:36:19 UTC) #1
bulach
lgtm, thanks! small nits / suggestions: https://codereview.chromium.org/11876021/diff/1/build/android/pylib/flag_changer.py File build/android/pylib/flag_changer.py (right): https://codereview.chromium.org/11876021/diff/1/build/android/pylib/flag_changer.py#newcode94 build/android/pylib/flag_changer.py:94: self._android_cmd.RunShellCommand( nit: the ...
7 years, 11 months ago (2013-01-14 17:26:50 UTC) #2
aberent
https://codereview.chromium.org/11876021/diff/1/build/android/pylib/flag_changer.py File build/android/pylib/flag_changer.py (right): https://codereview.chromium.org/11876021/diff/1/build/android/pylib/flag_changer.py#newcode94 build/android/pylib/flag_changer.py:94: self._android_cmd.RunShellCommand( On 2013/01/14 17:26:50, bulach wrote: > nit: the ...
7 years, 11 months ago (2013-01-14 20:19:10 UTC) #3
bulach
lgtm, thanks! just one nit and one ignorable suggestion below: https://codereview.chromium.org/11876021/diff/5002/build/android/pylib/flag_changer.py File build/android/pylib/flag_changer.py (right): https://codereview.chromium.org/11876021/diff/5002/build/android/pylib/flag_changer.py#newcode12 ...
7 years, 11 months ago (2013-01-15 09:51:00 UTC) #4
aberent
Significant changes, please re-review.
7 years, 11 months ago (2013-01-16 19:06:14 UTC) #5
bulach
lgtm, thanks! just some small suggestions below: https://codereview.chromium.org/11876021/diff/8001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/11876021/diff/8001/build/android/pylib/android_commands.py#newcode674 build/android/pylib/android_commands.py:674: self.GetExternalStorage() + ...
7 years, 11 months ago (2013-01-16 19:11:05 UTC) #6
aberent
https://codereview.chromium.org/11876021/diff/8001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/11876021/diff/8001/build/android/pylib/android_commands.py#newcode674 build/android/pylib/android_commands.py:674: self.GetExternalStorage() + '/' + base_name % i): On 2013/01/16 ...
7 years, 11 months ago (2013-01-17 17:18:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aberent@chromium.org/11876021/13001
7 years, 11 months ago (2013-01-17 17:24:07 UTC) #8
frankf
We want to enable pylint presubmit for pylib eventually (issue 168518). If you touch a ...
7 years, 11 months ago (2013-01-17 18:45:39 UTC) #9
commit-bot: I haz the power
List of reviewers changed. frankf@chromium.org did a drive-by without LGTM'ing!
7 years, 11 months ago (2013-01-17 20:31:28 UTC) #10
frankf
lgtm, not blocking this.
7 years, 11 months ago (2013-01-17 21:56:45 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aberent@chromium.org/11876021/13001
7 years, 11 months ago (2013-01-17 22:02:08 UTC) #12
commit-bot: I haz the power
7 years, 11 months ago (2013-01-17 22:07:12 UTC) #13
Message was sent while issue was closed.
Change committed as 177508

Powered by Google App Engine
This is Rietveld 408576698