Commit Graph

533 Commits

Author SHA1 Message Date
Ben Konyi 95c01fdc0a Updated status file to fix failure on vm-precomp-android-release-1-3-be
TBR=rnystrom@google.com
BUG=

Review-Url: https://codereview.chromium.org/2989683002 .
2017-07-25 17:34:56 -07:00
Ben Konyi c6d1d323b6 Updated status file to fix app_jit bot failures caused by splay_tree_from_iterable_test.
TBR=rnystrom@google.com
BUG=

Review-Url: https://codereview.chromium.org/2985053002 .
2017-07-25 17:17:18 -07:00
Ben Konyi b5caf1f5a0 Migrated test block 25 to Dart 2.0.
Simple block, no real changes.

BUG=
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2987773002 .
2017-07-25 17:00:21 -07:00
Kevin Moore c347b0ed16 Migrate test block 9 to Dart 2.0
Deleted http_resource_test – the associated classes no longer exist
Deleted int_fromEnvironment3 - validated type semantics
Tweaked hash_set_type_check – made it very simple.

Also tweaked some analyzer hints

R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2990623002 .
2017-07-25 16:43:08 -07:00
Ben Konyi edfb6d02bf Migrated test block 26 to Dart 2.0.
Simple block. Updated two lines in splay_tree_test to expect
compile-time errors and updated status files accordingly.

BUG=
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2983383002 .
2017-07-25 16:36:40 -07:00
Ben Konyi 64785f0614 Migrated test block 24 to Dart 2.0.
Another fairly simple block. regress-standalone required the
introduction of two seperate result variables as result was having two
different types assigned to it at different times.

BUG=
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2985823002 .
2017-07-25 15:22:33 -07:00
Sigmund Cherem d212ecc27b Temporarily skip tests with --use-sdk (at this time, tests are being run in bots that are not building the sdk from scratch)
TBR=sra@google.com

Review-Url: https://codereview.chromium.org/2989663002 .
2017-07-25 13:54:00 -07:00
Sigmund Cherem 09009ad6e9 Fix bots: partial support for --use-sdk (assumes
out/ReleaseX64/patched_dart2js_sdk exists), add .status entries for 'minified'

R=sra@google.com

Review-Url: https://codereview.chromium.org/2991683002 .
2017-07-25 09:13:19 -07:00
Janice Collins 7fdc6eb128 Migrate test block 6 to Dart 2.0.
Unusual things in this block:
- This is my first attempt to fix a multitest with various errors in it,
double_parse_test.dart.  Most of them revolve around multitest #01 and
the conflict it has with the new multitest #04.

BUG=
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2988573002 .
2017-07-25 08:13:41 -07:00
Sigmund Cherem 09ff1b56f7 Add support for compiling Dart via the FE in dart2js.
This also:
 - replaces --use-kernel with --use-kernel-in-ssa
 - replaces --load-dill with --use-kernel
 - makes --use-kernel support both: compiling from .dill or from .dart
 - change the default of other options that are currently disabled when --use-kernel is on.
 - adds .status lines for all tests in language/corelib/dart2js_extra/dart2js_native

R=efortuna@google.com

 Note: this CL is built on top of another change
 (https://codereview.chromium.org/2981403002/) that adds preview_dart_2 to
 test.dart
Review-Url: https://codereview.chromium.org/2989453002 .
2017-07-24 17:10:11 -07:00
Jennifer Messerly ff8511c83e fix override checking of mixins
it was rejecting some patterns that are sound, because the mixin member is overridden and thus not exposed.

R=leafp@google.com

Review-Url: https://codereview.chromium.org/2988673003 .
2017-07-24 16:27:08 -07:00
Ben Konyi 61641876da Removed old status file entry for fixed bug which is causing test failures.
TBR=rnystrom@google.com
BUG=

Review-Url: https://codereview.chromium.org/2987803002 .
2017-07-24 16:18:09 -07:00
Janice Collins 998dd24dcc Migrate test block 5 to Dart 2.0.
Unusual things in this block:
- date_time10_test.dart had no strong mode fork, and reveals what looks
like a legit DDC bug at first glance.  Excluded it for now in the status file.
- date_time_test.dart had small differences between the two forks that looked
like an error.  Fixed.

BUG=
R=bkonyi@google.com, rnystrom@google.com

Review-Url: https://codereview.chromium.org/2984063002 .
2017-07-24 14:18:58 -07:00
Ben Konyi c3eb965720 Migrated test block 27 to Dart 2.0.
Relatively simple block. Split string_base_vm_test into
string_base_vm_static_test and string_base_vm_test, updated status
files.

BUG=
R=jcollins@google.com, rnystrom@google.com

Review-Url: https://codereview.chromium.org/2989473002 .
2017-07-24 12:43:29 -07:00
Ben Konyi 370938c4c2 Migrated test block 28 to Dart 2.0.
Relatively simple block. Split string_replace_test into
string_replace_test and string_replace_static test and updated status
file to expect MissingCompileTimeError for vm + dart2js

BUG=
R=jcollins@google.com, rnystrom@google.com

Review-Url: https://codereview.chromium.org/2983273002 .
2017-07-24 12:10:15 -07:00
William Hesse 1bfcfa4560 Update status for failing tests
Issues have been filed for these tests.

BUG=https://github.com/dart-lang/sdk/issues/30245
BUG=https://github.com/dart-lang/sdk/issues/30244

Review-Url: https://codereview.chromium.org/2991523002 .
2017-07-24 14:18:09 +02:00
Ben Konyi d89f895e17 Fix remaining failing tests caused by test block 29 migration to Dart 2.0.
TBR=jcollins@google.com
BUG=

Review-Url: https://codereview.chromium.org/2991473002 .
2017-07-23 20:02:23 -07:00
Ben Konyi 084d9f7c86 Additional test updates to make the bots green.
TBR=jcollins@google.com

BUG=

Review-Url: https://codereview.chromium.org/2987643002 .
2017-07-23 09:12:21 -07:00
Ben Konyi f801a75153 Updated status files to expect MissingCompileTimeError for static error tests on non-dart 2.0 configurations.
TBR=jcollins@google.com
BUG=

Review-Url: https://codereview.chromium.org/2983313002 .
2017-07-22 21:05:51 -07:00
Ben Konyi 3867d84ca5 Migrated test block 29 to Dart 2.0
-Spit string_test into string_test and string_static_test
-Added various MissingCompileTimeError entries in status files for
tests which throw exceptions on configurations that haven't implemented Dart 2.0
-Switched var -> dynamic in symbol_operator_test

BUG=
R=jcollins@google.com, rnystrom@google.com

Review-Url: https://codereview.chromium.org/2983253002 .
2017-07-22 20:16:43 -07:00
Janice Collins ffdfe89475 Work around bot failures, allowing for the static test to fail
statically in checked mode.

BUG=
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2986653002 .
2017-07-21 09:34:18 -07:00
Janice Collins b1da48a29d Migrate test block 4 to Dart 2.0.
Unusual things in this block:
- corelib_strong/data_uri_test.dart was behind corelib, so migrated
that file from corelib.
- core_runtime_types_test was split per the document into static
and non-static versions
- data_resource_test.dart is now pointless since class Resource
was moved from dart:core to http://github.com/dart-lang/resource,
so deleted.

BUG=
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2986503002 .
2017-07-21 08:24:26 -07:00
Janice Collins dc12eeeedc Migrate test block 2 to Dart 2.0.
No test changes needed, status-files only.

BUG=
R=bkonyi@google.com, rnystrom@google.com

Review-Url: https://codereview.chromium.org/2982253002 .
2017-07-21 08:07:34 -07:00
Ben Konyi a955b38119 Updated status files to fix failures due to migration of test blocks 30-31 to Dart 2.0.
TBR=rnystrom@google.com
BUG=

Review-Url: https://codereview.chromium.org/2984703002 .
2017-07-20 08:50:57 -07:00
Ben Konyi 4d64b9ee37 Migrate test block 30 + corelib portion of block 31 to Dart 2.0.
Minor changes to uri_path_test and uri_query_test, and status file
updates.

BUG=
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2983123002 .
2017-07-20 08:07:37 -07:00
Bob Nystrom 18ba6eb06d Pass shared options to dartdevc in test.dart.
This fixes the from_environment tests. Before, DDC wasn't getting
passed the names being defined.

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2986513002 .
2017-07-19 17:06:11 -07:00
Ben Konyi cf24b24f6d Updated status file to fix failures on DDC for tests which require bigint
BUG=
R=jcollins@google.com

Review-Url: https://codereview.chromium.org/2987473002 .
2017-07-19 14:47:11 -07:00
Ben Konyi bc871501ad Fixed merge issue
TBR=jcollins@google.com
BUG=

Review-Url: https://codereview.chromium.org/2983863002 .
2017-07-19 10:31:43 -07:00
Ben Konyi 3371365d8d Migrate test block 3 to Dart 2.0.
No major changes were needed for this block.

BUG=
R=jcollins@google.com, rnystrom@google.com

Review-Url: https://codereview.chromium.org/2977403002 .
2017-07-19 10:25:02 -07:00
Janice Collins 70935d97c5 Migrate test block 1 to Dart 2.0.
This change makes big_integer_arith_vm_test strong-mode compatible, and allows
dartdevc/dart2js to build and run big_integer tests where they can.
New issue 30170 filed to track DDC big integer handling.

BUG=
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2978013002 .
2017-07-19 07:55:05 -07:00
Bob Nystrom 489c96ac2e Re-land beginning Dart 2.0 test migration.
This is similar to:

47985d6dbd
452d2d0840
7af2d86ed3

Except that it also fixes the status for dart2analyzer.

R=jcollins@google.com

Review-Url: https://codereview.chromium.org/2980213002 .
2017-07-17 12:40:18 -07:00
Alexander Aprelev 9882d494db "Set up directories.." commit below broke the buildbot tests, two others are collateral damage.
Revert "Precompiler doesn't report Dart 2.0 static type errors yet."

This reverts commit 7af2d86ed3.

Revert "Move absstract_exact_selector back into the language tests. (#30169)"

This reverts commit 452d2d0840.

Revert "Set up directories for migrated Dart 2.0 tests and migrate a couple. (#30149)"

This reverts commit 47985d6dbd.

R=zra@google.com

BUG:dartbug.com/30171
Review-Url: https://codereview.chromium.org/2979073002 .
2017-07-14 14:43:55 -07:00
Bob Nystrom 47985d6dbd Set up directories for migrated Dart 2.0 tests and migrate a couple. (#30149)
* Set up directories for migrated Dart 2.0 tests and migrate a couple.

- Create new "_2" directories where tests that have been validated as
  ready for Dart 2.0 will end up.
- Create empty status files for each directory.
- Add those directories to the set of default selectors you get when you
  run test.py. This gets the VM bots running them.
- Get the DDC bots running those suites.
- Move abstract_exact_selector_test over to dart2js since it's a
  dart2js-specific regression test and not an actual language test.
- Migrate corelib/apply_test.dart.
- Delete abstract_beats_arguments[2]_test.dart since that code is
  statically wrong in 2.0 and can't be run.

This doesn't get the dart2js bots running the new suites. I'll email
the relevant folks to get help with that.

* Resurrect abstract_beats_arguments_test.dart.

It usefully checked that an implementation reports an warning (now
error) if you construct an abstract class.

Also added support to test.dart to mark a test as expecting to
generate a compile error in the test itself. That way, the status file
reflects what is *wrong* about the current status, not what is *right*.

* Change static error syntax to match front_end notation.

* Migrate abstract_getter_test.
2017-07-14 10:27:37 -07:00