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

Issue 25514002: Implement testing support for "--compiler=none --runtime=dartium" (Closed)

Created:
7 years, 2 months ago by kustermann
Modified:
7 years, 2 months ago
Reviewers:
ricow1, ahe, kasperl
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Implement testing support for "--compiler=none --runtime=dartium" This is implemented without the broken unittest-based wrapping of tests. R=kasperl@google.com Committed: https://code.google.com/p/dart/source/detail?r=28141

Patch Set 1 #

Patch Set 2 : #

Total comments: 18

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+303 lines, -42 lines) Patch
M pkg/unittest/lib/test_controller.js View 1 6 chunks +36 lines, -13 lines 0 comments Download
M runtime/tests/vm/vm.status View 1 chunk +3 lines, -0 lines 0 comments Download
M samples/samples.status View 1 chunk +3 lines, -0 lines 0 comments Download
A tests/co19/co19-dartium.status View 1 2 1 chunk +101 lines, -0 lines 0 comments Download
M tests/co19/test_config.dart View 1 chunk +2 lines, -1 line 0 comments Download
M tests/html/html.status View 1 chunk +20 lines, -0 lines 0 comments Download
M tests/isolate/isolate.status View 2 chunks +4 lines, -1 line 0 comments Download
M tests/language/language.status View 1 chunk +18 lines, -0 lines 0 comments Download
M tests/lib/lib.status View 1 chunk +15 lines, -0 lines 0 comments Download
M tests/standalone/standalone.status View 2 chunks +6 lines, -1 line 0 comments Download
M tests/utils/utils.status View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M tools/testing/dart/browser_controller.dart View 1 2 9 chunks +53 lines, -18 lines 0 comments Download
M tools/testing/dart/browser_test.dart View 1 2 2 chunks +13 lines, -1 line 0 comments Download
M tools/testing/dart/test_options.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 2 4 chunks +22 lines, -5 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
kustermann
While reading the dartium bindings code (because of the "Failed to load a file ..." ...
7 years, 2 months ago (2013-10-01 12:55:05 UTC) #1
kustermann
In case you're curious, here's antons CL: https://codereview.chromium.org/12477005/
7 years, 2 months ago (2013-10-01 13:09:35 UTC) #2
kasperl
LGTM. https://codereview.chromium.org/25514002/diff/1001/tests/utils/utils.status File tests/utils/utils.status (right): https://codereview.chromium.org/25514002/diff/1001/tests/utils/utils.status#newcode27 tests/utils/utils.status:27: dart2js_test: Skip Add comments that explains why you're ...
7 years, 2 months ago (2013-10-01 13:15:55 UTC) #3
kustermann
Thank you. https://codereview.chromium.org/25514002/diff/1001/tests/utils/utils.status File tests/utils/utils.status (right): https://codereview.chromium.org/25514002/diff/1001/tests/utils/utils.status#newcode27 tests/utils/utils.status:27: dart2js_test: Skip On 2013/10/01 13:15:55, kasperl wrote: ...
7 years, 2 months ago (2013-10-01 15:41:59 UTC) #4
kustermann
Committed patchset #3 manually as r28141 (presubmit successful).
7 years, 2 months ago (2013-10-02 07:38:10 UTC) #5
ricow1
LGTM, awesome! https://codereview.chromium.org/25514002/diff/1001/tools/testing/dart/browser_controller.dart File tools/testing/dart/browser_controller.dart (right): https://codereview.chromium.org/25514002/diff/1001/tools/testing/dart/browser_controller.dart#newcode872 tools/testing/dart/browser_controller.dart:872: print("Double reporting tests"); Do we want to ...
7 years, 2 months ago (2013-10-02 18:17:47 UTC) #6
kustermann
7 years, 2 months ago (2013-10-03 11:06:01 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/25514002/diff/1001/tools/testing/dart/browser...
File tools/testing/dart/browser_controller.dart (right):

https://codereview.chromium.org/25514002/diff/1001/tools/testing/dart/browser...
tools/testing/dart/browser_controller.dart:872: print("Double reporting tests");
On 2013/10/02 18:17:47, ricow1 wrote:
> Do we want to remove the double reporting here when we print it to the debug
log
> below?

For now I'd leave it, if you pass '--write-debug-log' you'll never see any
warning. (and if you don't pass it, you'll get tons of output -- nobody wants
that)

https://codereview.chromium.org/25514002/diff/12001/tools/testing/dart/test_s...
File tools/testing/dart/test_suite.dart (right):

https://codereview.chromium.org/25514002/diff/12001/tools/testing/dart/test_s...
tools/testing/dart/test_suite.dart:1046: _createWrapperFile(
On 2013/10/02 18:17:47, ricow1 wrote:
> is this basically drt now?

Yes it is -- or rather content_shell.

I'll remove this unittest-based wrapping here as well (if the print forwarding
works on content_shell as well)

Powered by Google App Engine
This is Rietveld 408576698