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

Issue 9418045: Support for native in leg, and start moving native tests to a specific test suite. (Closed)

Created:
8 years, 10 months ago by ngeoffray
Modified:
8 years, 10 months ago
CC:
reviews_dartlang.org, floitsch, karlklose, Lasse Reichstein Nielsen, sra1
Visibility:
Public.

Description

Support for native in leg, and start moving native tests to a specific test suite. Committed: https://code.google.com/p/dart/source/detail?r=4392

Patch Set 1 : #

Total comments: 67

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+303 lines, -114 lines) Patch
M frog/leg/compiler.dart View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M frog/leg/elements/elements.dart View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M frog/leg/emitter.dart View 1 2 11 chunks +180 lines, -11 lines 0 comments Download
M frog/leg/leg.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M frog/leg/scanner/listener.dart View 1 2 5 chunks +70 lines, -7 lines 0 comments Download
M frog/leg/scanner/parser.dart View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M frog/leg/scanner/partial_parser.dart View 1 2 2 chunks +11 lines, -1 line 0 comments Download
M frog/leg/scanner/scanner_task.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M frog/leg/scanner/scannerlib.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M frog/leg/ssa/builder.dart View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M frog/leg/ssa/codegen.dart View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M frog/leg/ssa/ssa.dart View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M frog/presubmit.py View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M frog/scripts/buildbot_annotated_steps.py View 1 2 2 chunks +3 lines, -2 lines 1 comment Download
D frog/tests/frog/src/NativeClassAvoidsHiddenNameFrogTest.dart View 1 2 1 chunk +0 lines, -54 lines 0 comments Download
A + frog/tests/native/native.status View 1 1 chunk +1 line, -27 lines 0 comments Download
A + frog/tests/native/src/NativeClassAvoidsHiddenNameFrogTest.dart View 0 chunks +-1 lines, --1 lines 0 comments Download
A + frog/tests/native/test_config.dart View 1 1 chunk +5 lines, -5 lines 0 comments Download
M tests/co19/co19-leg.status View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M tools/test.dart View 1 2 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ngeoffray
8 years, 10 months ago (2012-02-17 15:16:28 UTC) #1
floitsch
DBC. https://chromiumcodereview.appspot.com/9418045/diff/2001/frog/leg/emitter.dart File frog/leg/emitter.dart (right): https://chromiumcodereview.appspot.com/9418045/diff/2001/frog/leg/emitter.dart#newcode27 frog/leg/emitter.dart:27: if (typeof(constructor) == 'function') { typeof is not ...
8 years, 10 months ago (2012-02-19 00:59:43 UTC) #2
ahe
I'm not sure about this change because: * I understand the purpose of DYNAMIC_FUNCTION (lack ...
8 years, 10 months ago (2012-02-19 14:38:02 UTC) #3
ahe
On 2012/02/19 14:38:02, ahe wrote: > * I understand the purpose of DYNAMIC_FUNCTION (lack of ...
8 years, 10 months ago (2012-02-19 14:38:33 UTC) #4
Lasse Reichstein Nielsen
dbc. https://chromiumcodereview.appspot.com/9418045/diff/2001/frog/leg/compiler.dart File frog/leg/compiler.dart (right): https://chromiumcodereview.appspot.com/9418045/diff/2001/frog/leg/compiler.dart#newcode256 frog/leg/compiler.dart:256: if (script.name.contains('dart/frog/tests/native/src')) { I would prefer to have ...
8 years, 10 months ago (2012-02-20 07:33:56 UTC) #5
ngeoffray
https://chromiumcodereview.appspot.com/9418045/diff/2001/frog/leg/emitter.dart File frog/leg/emitter.dart (right): https://chromiumcodereview.appspot.com/9418045/diff/2001/frog/leg/emitter.dart#newcode25 frog/leg/emitter.dart:25: function(obj) { On 2012/02/19 14:38:02, ahe wrote: > Could ...
8 years, 10 months ago (2012-02-20 09:09:37 UTC) #6
ahe
Sorry, I still don't understand the code. Also, I think you also need to modify ...
8 years, 10 months ago (2012-02-20 09:36:10 UTC) #7
ahe
Since I'm not in the office today and we can't talk about this in person, ...
8 years, 10 months ago (2012-02-20 10:02:55 UTC) #8
ngeoffray
PTAL https://chromiumcodereview.appspot.com/9418045/diff/2001/frog/leg/compiler.dart File frog/leg/compiler.dart (right): https://chromiumcodereview.appspot.com/9418045/diff/2001/frog/leg/compiler.dart#newcode256 frog/leg/compiler.dart:256: if (script.name.contains('dart/frog/tests/native/src')) { On 2012/02/20 07:33:56, Lasse Reichstein ...
8 years, 10 months ago (2012-02-20 17:00:01 UTC) #9
floitsch
LGTM. https://chromiumcodereview.appspot.com/9418045/diff/2001/frog/leg/emitter.dart File frog/leg/emitter.dart (right): https://chromiumcodereview.appspot.com/9418045/diff/2001/frog/leg/emitter.dart#newcode26 frog/leg/emitter.dart:26: var constructor = obj.constructor; On 2012/02/20 09:09:37, ngeoffray ...
8 years, 10 months ago (2012-02-21 13:11:15 UTC) #10
ahe
8 years, 10 months ago (2012-02-22 22:08:47 UTC) #11
https://chromiumcodereview.appspot.com/9418045/diff/11002/frog/scripts/buildb...
File frog/scripts/buildbot_annotated_steps.py (right):

https://chromiumcodereview.appspot.com/9418045/diff/11002/frog/scripts/buildb...
frog/scripts/buildbot_annotated_steps.py:156: TestStep("leg_extra", mode,
system, 'leg', ['leg_only'], flags)
You need to pass in 'frog_native' here. Otherwise the tests won't get run on the
build bot.

Powered by Google App Engine
This is Rietveld 408576698