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

Issue 1922163002: Initial support to test.dart for running precompiler tests on android devices (Closed)

Created:
4 years, 8 months ago by kustermann
Modified:
4 years, 7 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Initial support to test.dart for running precompiler tests on android devices Steps to make this work: a) Make sure you have an android sdk checkout: => See https://github.com/dart-lang/sdk/wiki/Building-Dart-SDK-for-Android b) Building using android-toolchain crosscompiler: $ ./tools/build.py -mrelease -aarm --os=android dart_precompiled_runtime => Notice --os=android c) Testing using attached android phones: $ export PATH=$PATH:$PWD/third_party/android_tools/sdk/platform-tools $ ./tools/test.py -mrelease -aarm --system=android -cprecompiler -rdart_precompiled --use-blobs => Notice --system=android Failing tests on android can be marked in status files via: [ $compiler == precompiler && $runtime == dart_precompiled && $system == android ] R=whesse@google.com Committed: https://github.com/dart-lang/sdk/commit/620b896e2f38b618485a420cabf0c2ea97154593

Patch Set 1 #

Total comments: 4

Patch Set 2 : Some fixes #

Total comments: 28

Patch Set 3 : #

Patch Set 4 : Cleanup of CL and of existing code. #

Total comments: 10

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+356 lines, -96 lines) Patch
M runtime/bin/log_android.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M tools/test.dart View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M tools/testing/dart/android.dart View 1 2 3 4 7 chunks +116 lines, -59 lines 0 comments Download
M tools/testing/dart/compiler_configuration.dart View 1 2 3 6 chunks +22 lines, -11 lines 0 comments Download
M tools/testing/dart/runtime_configuration.dart View 1 2 3 2 chunks +29 lines, -0 lines 0 comments Download
M tools/testing/dart/test_configurations.dart View 1 2 3 3 chunks +28 lines, -19 lines 0 comments Download
M tools/testing/dart/test_options.dart View 1 chunk +1 line, -1 line 0 comments Download
M tools/testing/dart/test_runner.dart View 1 2 3 4 9 chunks +131 lines, -3 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 2 3 2 chunks +18 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
kustermann
4 years, 8 months ago (2016-04-26 16:28:45 UTC) #5
kustermann
4 years, 8 months ago (2016-04-26 16:30:09 UTC) #6
rmacnak
https://codereview.chromium.org/1922163002/diff/1/tools/testing/dart/compiler_configuration.dart File tools/testing/dart/compiler_configuration.dart (right): https://codereview.chromium.org/1922163002/diff/1/tools/testing/dart/compiler_configuration.dart#newcode348 tools/testing/dart/compiler_configuration.dart:348: args.addAll(arguments); if (targeting 32 bit ARM Android) { args.add("--no-sim-use-hardfp"); ...
4 years, 8 months ago (2016-04-26 17:18:08 UTC) #8
Florian Schneider
https://codereview.chromium.org/1922163002/diff/1/tools/testing/dart/android.dart File tools/testing/dart/android.dart (right): https://codereview.chromium.org/1922163002/diff/1/tools/testing/dart/android.dart#newcode326 tools/testing/dart/android.dart:326: var args = ['shell', 'sh', '-c', For some reason ...
4 years, 7 months ago (2016-04-27 09:10:37 UTC) #9
kustermann
https://codereview.chromium.org/1922163002/diff/1/tools/testing/dart/android.dart File tools/testing/dart/android.dart (right): https://codereview.chromium.org/1922163002/diff/1/tools/testing/dart/android.dart#newcode326 tools/testing/dart/android.dart:326: var args = ['shell', 'sh', '-c', On 2016/04/27 09:10:37, ...
4 years, 7 months ago (2016-04-27 10:36:00 UTC) #10
Bill Hesse
https://codereview.chromium.org/1922163002/diff/20001/runtime/bin/log_android.cc File runtime/bin/log_android.cc (right): https://codereview.chromium.org/1922163002/diff/20001/runtime/bin/log_android.cc#newcode19 runtime/bin/log_android.cc:19: void Log::VPrint(const char* format, va_list args) { Add a ...
4 years, 7 months ago (2016-04-27 12:22:32 UTC) #11
kustermann
PTAL https://codereview.chromium.org/1922163002/diff/20001/runtime/bin/log_android.cc File runtime/bin/log_android.cc (right): https://codereview.chromium.org/1922163002/diff/20001/runtime/bin/log_android.cc#newcode19 runtime/bin/log_android.cc:19: void Log::VPrint(const char* format, va_list args) { On ...
4 years, 7 months ago (2016-04-27 13:25:09 UTC) #12
Florian Schneider
https://codereview.chromium.org/1922163002/diff/60001/tools/testing/dart/test_runner.dart File tools/testing/dart/test_runner.dart (right): https://codereview.chromium.org/1922163002/diff/60001/tools/testing/dart/test_runner.dart#newcode2506 tools/testing/dart/test_runner.dart:2506: return adbDevicePool.aquireDevice().then((AdbDevice device) { s/aquire/acquire/
4 years, 7 months ago (2016-04-27 13:53:05 UTC) #13
Bill Hesse
https://codereview.chromium.org/1922163002/diff/20001/tools/testing/dart/android.dart File tools/testing/dart/android.dart (right): https://codereview.chromium.org/1922163002/diff/20001/tools/testing/dart/android.dart#newcode74 tools/testing/dart/android.dart:74: ]; On 2016/04/27 13:25:08, kustermann wrote: > On 2016/04/27 ...
4 years, 7 months ago (2016-04-27 13:54:40 UTC) #14
Florian Schneider
https://codereview.chromium.org/1922163002/diff/60001/tools/testing/dart/test_runner.dart File tools/testing/dart/test_runner.dart (right): https://codereview.chromium.org/1922163002/diff/60001/tools/testing/dart/test_runner.dart#newcode2539 tools/testing/dart/test_runner.dart:2539: ['push', runner, '$devicedir/runner'])); Maybe add a TODO that we ...
4 years, 7 months ago (2016-04-28 13:18:30 UTC) #15
Bill Hesse
lgtm
4 years, 7 months ago (2016-04-28 13:48:40 UTC) #16
Florian Schneider
On 2016/04/28 13:48:40, Bill Hesse wrote: > lgtm After running many tests (1000s) I get ...
4 years, 7 months ago (2016-04-28 15:28:58 UTC) #17
rmacnak
On 2016/04/28 15:28:58, Florian Schneider wrote: > On 2016/04/28 13:48:40, Bill Hesse wrote: > > ...
4 years, 7 months ago (2016-04-29 23:58:18 UTC) #18
kustermann
Thanks. Let's look at the timeout/adb issue in another CL. https://codereview.chromium.org/1922163002/diff/60001/tools/test.dart File tools/test.dart (right): https://codereview.chromium.org/1922163002/diff/60001/tools/test.dart#newcode64 ...
4 years, 7 months ago (2016-05-02 10:40:23 UTC) #20
kustermann
4 years, 7 months ago (2016-05-02 10:41:29 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (id:100001) manually as
620b896e2f38b618485a420cabf0c2ea97154593 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698