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

Issue 1362743003: Add simple VM test for precompiled code. (Closed)

Created:
5 years, 3 months ago by Florian Schneider
Modified:
5 years, 3 months ago
Reviewers:
Bill Hesse, rmacnak
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add simple VM test for precompiled code. The test creates a precompiled snapshot in a temporary directory, runs it and checks the output. Also: Minor cleanup and fix segfault on dlopen error and with --trace-isolates BUG= R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/3a75f0d67a0170b12417033d9b64fc6b078a9b8b

Patch Set 1 #

Total comments: 8

Patch Set 2 : addressed comments #

Patch Set 3 : ia32 marked as fail instead of skip #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -18 lines) Patch
M runtime/bin/extensions_linux.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/main.cc View 4 chunks +4 lines, -8 lines 0 comments Download
M runtime/vm/isolate.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M runtime/vm/megamorphic_cache_table.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/pages.cc View 1 chunk +0 lines, -5 lines 0 comments Download
A tests/standalone/precompilation_test.dart View 1 1 chunk +81 lines, -0 lines 0 comments Download
M tests/standalone/standalone.status View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Florian Schneider
5 years, 3 months ago (2015-09-23 11:06:46 UTC) #2
Bill Hesse
https://codereview.chromium.org/1362743003/diff/1/tests/standalone/precompilation_test.dart File tests/standalone/precompilation_test.dart (right): https://codereview.chromium.org/1362743003/diff/1/tests/standalone/precompilation_test.dart#newcode31 tests/standalone/precompilation_test.dart:31: } Maybe try and run gcc --version, and if ...
5 years, 3 months ago (2015-09-23 17:17:37 UTC) #4
rmacnak
lgtm https://codereview.chromium.org/1362743003/diff/1/tests/standalone/precompilation_test.dart File tests/standalone/precompilation_test.dart (right): https://codereview.chromium.org/1362743003/diff/1/tests/standalone/precompilation_test.dart#newcode33 tests/standalone/precompilation_test.dart:33: "gcc", The ARM bots download a cross-compiled build ...
5 years, 3 months ago (2015-09-23 17:34:59 UTC) #5
Florian Schneider
https://codereview.chromium.org/1362743003/diff/1/tests/standalone/standalone.status File tests/standalone/standalone.status (right): https://codereview.chromium.org/1362743003/diff/1/tests/standalone/standalone.status#newcode109 tests/standalone/standalone.status:109: precompilation_test: Skip # Not expected to run on ia32 ...
5 years, 3 months ago (2015-09-23 18:30:49 UTC) #6
rmacnak
On 2015/09/23 18:30:49, Florian Schneider wrote: > https://codereview.chromium.org/1362743003/diff/1/tests/standalone/standalone.status > File tests/standalone/standalone.status (right): > > https://codereview.chromium.org/1362743003/diff/1/tests/standalone/standalone.status#newcode109 ...
5 years, 3 months ago (2015-09-23 19:15:43 UTC) #7
rmacnak
On 2015/09/23 19:15:43, rmacnak wrote: > On 2015/09/23 18:30:49, Florian Schneider wrote: > > > ...
5 years, 3 months ago (2015-09-23 19:17:26 UTC) #8
Florian Schneider
On 2015/09/23 19:17:26, rmacnak wrote: > On 2015/09/23 19:15:43, rmacnak wrote: > > On 2015/09/23 ...
5 years, 3 months ago (2015-09-24 08:48:17 UTC) #9
Florian Schneider
https://codereview.chromium.org/1362743003/diff/1/tests/standalone/precompilation_test.dart File tests/standalone/precompilation_test.dart (right): https://codereview.chromium.org/1362743003/diff/1/tests/standalone/precompilation_test.dart#newcode31 tests/standalone/precompilation_test.dart:31: } On 2015/09/23 17:17:37, Bill Hesse wrote: > Maybe ...
5 years, 3 months ago (2015-09-24 09:36:36 UTC) #10
Florian Schneider
5 years, 3 months ago (2015-09-24 09:36:52 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
3a75f0d67a0170b12417033d9b64fc6b078a9b8b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698