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

Issue 10965060: Use the VM under test, not the prebuilt binary (Closed)

Created:
8 years, 3 months ago by ahe
Modified:
8 years, 3 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Use the VM under test, not the prebuilt binary Committed: https://code.google.com/p/dart/source/detail?r=12760

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M dart/tools/testing/dart/test_suite.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
ahe
8 years, 3 months ago (2012-09-24 07:40:34 UTC) #1
ricow1
DBC https://codereview.chromium.org/10965060/diff/1/dart/tools/testing/dart/test_suite.dart File dart/tools/testing/dart/test_suite.dart (right): https://codereview.chromium.org/10965060/diff/1/dart/tools/testing/dart/test_suite.dart#newcode685 dart/tools/testing/dart/test_suite.dart:685: // As a special case, a command of ...
8 years, 3 months ago (2012-09-24 07:42:57 UTC) #2
Mads Ager (google)
LGTM, thanks Peter!
8 years, 3 months ago (2012-09-24 07:43:06 UTC) #3
Mads Ager (google)
https://codereview.chromium.org/10965060/diff/1/dart/tools/testing/dart/test_suite.dart File dart/tools/testing/dart/test_suite.dart (right): https://codereview.chromium.org/10965060/diff/1/dart/tools/testing/dart/test_suite.dart#newcode685 dart/tools/testing/dart/test_suite.dart:685: // As a special case, a command of "dart" ...
8 years, 3 months ago (2012-09-24 07:43:49 UTC) #4
ahe
Thank you! https://codereview.chromium.org/10965060/diff/1/dart/tools/testing/dart/test_suite.dart File dart/tools/testing/dart/test_suite.dart (right): https://codereview.chromium.org/10965060/diff/1/dart/tools/testing/dart/test_suite.dart#newcode685 dart/tools/testing/dart/test_suite.dart:685: // As a special case, a command ...
8 years, 3 months ago (2012-09-24 08:31:22 UTC) #5
William Hesse
The intent of this is to start a simple HTTP server in support of browser ...
8 years, 3 months ago (2012-09-24 09:36:47 UTC) #6
ahe
On 2012/09/24 09:36:47, William Hesse wrote: > The intent of this is to start a ...
8 years, 3 months ago (2012-09-24 09:48:15 UTC) #7
Alan Knight
8 years, 3 months ago (2012-09-24 19:16:11 UTC) #8
On 2012/09/24 09:48:15, ahe wrote:
> On 2012/09/24 09:36:47, William Hesse wrote:
> > The intent of this is to start a simple HTTP server in support of browser
> tests
> > of internationalization, not in support of VM tests.  The tests using this
are
> > skipped in VM configurations.  So they fully intended to use the checked-in
> > binary, not the built VM.  In fact, these tests should even run when the VM
is
> > not built at all, or failing.
> > 
> > The HTTP server they are starting is part of the test infrastructure, not
part
> > of what is being tested.  So I expect you will see some pushback on this
> change.
> 
> The HTTP server is in pkg/intl/test/start_web_server.dart. So it will most
> likely use the latest API, not the slightly out-of-date that is bundled with
> .../dart/tools/testing/bin/$OS/dart.
> 
> If the HTTP server is really part of the test frame work, it should be moved
to
> .../dart/tools/testing/dart and there shouldn't be a general mechanism for
> running a Dart program during testing.

The intent is for it to be used as a tool to test something else, and there
isn't any attempt to verify the HTTP server itself. It is just copied from one
of our web site examples and very slightly modified. It might make more sense
for it to be considered part of the test framework, though I think it might want
to be generalized for such usage.

Powered by Google App Engine
This is Rietveld 408576698