Commit graph

1240 commits

Author SHA1 Message Date
Nicholas Shahan 2d3c9f4346 [dart2js, ddc] Skip flaky tests
These tests are flipping between Fail, Pass, Flaky at a rate that
is avoiding flake detection. Skipping until we can address the
issues.

Issue: https://github.com/dart-lang/sdk/issues/51086
Issue: https://github.com/dart-lang/sdk/issues/50718

Change-Id: I9a6aa25bdc1573fe1af8783c7ddb389282695540
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/282810
Commit-Queue: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2023-02-13 23:44:59 +00:00
Erik Ernst 93379074ad Skip co19/LanguageFeatures/Enhanced-Enum/grammar_A07_t01 on the web
Change-Id: I6325497456357dfebe9864ec2d11207b39b3fdf8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/240046
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Srujan Gaddam <srujzs@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2022-04-05 19:54:13 +00:00
Sergey G. Grekhov 5e4f36eda6 [co19] Test that use FFI turned off on not supported platforms
Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-nnbd-win-release-x64-try,vm-kernel-precomp-linux-release-simarm64-try
Change-Id: Iccd080591cc3dda60b5bd2ab9d8f2261445df610
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/232880
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2022-02-16 09:41:09 +00:00
Sergey G. Grekhov 2f9b2d10cc [co19] HttpRequestUpload tests enabled in status files
Change-Id: Ied7cdc131541711f80cd1d053660438bfcdc55ce
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/223421
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2021-12-13 09:39:49 +00:00
Sergey G. Grekhov c4d5a2ed8a [co19] co19/LibTest/html/responseText_A01_t02 test enabled
Change-Id: I4ca667b2b82cb5587854686851e6f9992a1fc233
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/221462
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2021-12-07 11:14:19 +00:00
Alexander Thomas ef181bbc29 [test] Skip Language/Types/Interface_Types/subtype_t27
The test is causing frequent CQ failures right now.

Bug: https://github.com/dart-lang/sdk/issues/42641
Change-Id: I46727cab95eb8da5feec7de860426e94d5875314
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/221325
Auto-Submit: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2021-11-26 11:31:23 +00:00
Irina Arkhipets d23b0966e5 [co19] Status files updated according to Issue 523: tests which use mirrors moved to LibTest/mirrors
Change-Id: Ifb670caf5def3f7064b3876a0bdb97086ab629bc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/216284
Reviewed-by: Alexander Thomas <athom@google.com>
2021-10-14 08:30:25 +00:00
Irina Arkhipets 11f497f6ab [co19_2] Status files updated
[co19] Status files updated

Change-Id: I206e33a31e5c55954f8ac914e0885dc6003afe26
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/212003
Reviewed-by: Erik Ernst <eernst@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2021-09-27 10:27:42 +00:00
Sergey G. Grekhov c14d66253c [co19] Re-enable fixed tests
This CL re-enables (except on platforms that don't support them):
Language/Libraries_and_Scripts/Scripts/top_level_main_t01
Language/Expressions/Numbers/syntax_t34

Cq-Include-Trybots: dart/try:analyzer-nnbd-linux-release-try,dart2js-nnbd-linux-x64-chrome-try,ddc-nnbd-linux-release-chrome-try,front-end-nnbd-linux-release-x64-try,vm-kernel-nnbd-linux-release-x64-try,vm-kernel-precomp-nnbd-linux-release-x64-try
Change-Id: I10a1b1c9abc125c000cc9e9ba7d749b8766e193d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/212563
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2021-09-06 17:30:57 +00:00
Irina Arkhipets 79be5898b4 [co19] LibTests/typed_data tests skipped for dart2js
[co19_2] LibTests/typed_data tests skipped for dart2js

Change-Id: I2e8a93f7991b36367b84678bbfebda36babaf96f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209915
Reviewed-by: Erik Ernst <eernst@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2021-08-16 08:07:34 +00:00
Sergey G. Grekhov d30d9ed839 [co19] Skip in status files removed or replaced where it is possible
Change-Id: Iccf97f1a6a2753321c5d60db5e9c2291eeeb159b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/194400
Reviewed-by: Erik Ernst <eernst@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2021-04-12 13:26:49 +00:00
Sergey G. Grekhov dac02ba37a [co19] skip test that uses dart:mirrors on precompiled and web platforms
Change-Id: I69466760bb870fc94415311d92359d669c07f097
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192744
Commit-Queue: Erik Ernst <eernst@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
2021-03-24 11:25:19 +00:00
Sergey G. Grekhov d99e7a9f92 [co19] typo fixed and tests that shifts big integers skipped on JS
Change-Id: Ie1cb192d21022a4c83eec5e49056533fd513607b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192140
Reviewed-by: Erik Ernst <eernst@google.com>
2021-03-22 11:42:11 +00:00
Sergey G. Grekhov 7c29dd9583 [co19] status file normalized
[co19] turn off tests that use big numbers on web configurations

Change-Id: Iceda118a4c06b5edf3bd97559a88559301920019
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/191721
Reviewed-by: Erik Ernst <eernst@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2021-03-18 10:16:08 +00:00
Sergey G. Grekhov 7c7569ff0e [co19] Skip ffi tests on web platforms
Change-Id: I1e756bc1b4cb4e102aabeeb622bb950d086b46cb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/186100
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2021-02-22 08:49:03 +00:00
Riley Porter cfa35be6f0 [package:js] Added checks for external non-JS members.
Adds static errors in web backends requiring external members to be
annotated with @JS(). Members can be annotated directly, or on the
enclosing class or library.

Also removes duplicate checks in dart2js for non-native external
members that are now covered by the checks on external @JS members.

Change-Id: I2b17456f8f546f80f1ea6a817360c7f4c40f9640
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/180442
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Riley Porter <rileyporter@google.com>
2021-02-03 02:14:18 +00:00
sgrekhov 40c4b98503 [co19] Enable html/HttpRequest tests
Change-Id: I51fd765498eaa7c1970b71b846194771d967bd14
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175252
Reviewed-by: Alexander Thomas <athom@google.com>
2020-12-08 14:56:18 +00:00
sgrekhov 93d74d6aad [co19] turn off some type alias tests in analyzer and external variables tests on dart2js
Change-Id: I4ecec92d5d0d51e050e2d3a189eede439e5b8de3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/171520
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2020-11-11 08:34:18 +00:00
sgrekhov 24ca7b5284 [co19] Skip 'main' optional parameters tests on dart2js
Fixes https://github.com/dart-lang/co19/issues/952

Change-Id: Ic350695354f2c0c585e15c599ec227bbe7875cb3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167560
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2020-10-15 07:45:52 +00:00
sgrekhov 37ef286dba [co19] Enable html tests
Change-Id: I1286a01b82ffcebf6a3931185d4eed22173f23fb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161360
Reviewed-by: Alexander Thomas <athom@google.com>
2020-09-21 12:53:19 +00:00
sgrekhov b59cf7f006 [co19] LibTest/typed_data tests enabled
Change-Id: Id8f34fd8026d50f5678c0976c08a1f59c8b4f18e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/160284
Reviewed-by: William Hesse <whesse@google.com>
2020-08-31 19:38:08 +00:00
sgrekhov 8678553700 [co19] enable isolate and mirrors tests
Change-Id: Iff3d3f718a726015cf914b36998ca6b40725314c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/160220
Reviewed-by: Alexander Thomas <athom@google.com>
2020-08-27 06:20:09 +00:00
sgrekhov 47cf36ec71 [co19] LibTest/core tests enabled
Change-Id: If1deb7a4d695c1eb7ab2bf69d7044fc532cf8992
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/156502
Reviewed-by: William Hesse <whesse@google.com>
2020-08-05 11:10:33 +00:00
sgrekhov 3ccf7ce5d2 [co19] Language/Reference tests enabled
Change-Id: I51647c2e3de9e63d25b9bea29eae050b3473414a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153203
Reviewed-by: Alexander Thomas <athom@google.com>
2020-07-03 09:05:28 +00:00
sgrekhov 1c512ef120 [co19] Enable more migrated "Language" tests
Change-Id: Ib5e450d90bcce0a96d65f088b292b5db2ade1f5e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152342
Reviewed-by: Alexander Thomas <athom@google.com>
2020-06-25 07:40:46 +00:00
sgrekhov 81d35e0743 [co19] Enable tests migrated to null safety
Change-Id: Ic95afdd0bdfabbc40ff4cad4ef8e514153e48f5a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150107
Reviewed-by: Alexander Thomas <athom@google.com>
2020-06-08 12:46:42 +00:00
sgrekhov 9b9f89a64c [co19] Skip not migrated to NNBD folders in a status file
Change-Id: Iaf54ad33ae79291caffda74843d46a238b6c2a17
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/144945
Reviewed-by: Sergey Grekhov <sgrekhov@unipro.ru>
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Sergey Grekhov <sgrekhov@unipro.ru>
2020-04-30 05:29:14 +00:00
Bob Nystrom f6ca2c1d8f Remove the Dart 1 tests.
This deletes:

tests/co19
tests/corelib
tests/html
tests/isolate
tests/language
tests/lib

It does not delete tests/standalone because apparently there are tests
in there that are not in standalone_2. (I assume they were added after
the test migration. I don't know why they were added there.)

I have tried to remove references to the old tests from various scripts
and tools but may have missed some. (As you can imagine, grepping for
"lib" does not have the best signal-to-noise ratio.)

"It was a pleasure to burn. It was a special pleasure to see things
eaten, to see things blackened and changed. With the brass nozzle in his
fists, with this great python spitting its venomous kerosene upon the
world, the blood pounded in his head, and his hands were the hands of
some amazing conductor playing all the symphonies of blazing and burning
to bring down the tatters and charcoal ruins of history."

- Ray Bradbury, Fahrenheit 451

Change-Id: If3db4a50e7a5ee25aff8058b1483e2ce8e68424e
Reviewed-on: https://dart-review.googlesource.com/c/75420
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Terry Lucas <terry@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-10-11 23:45:18 +00:00
Kevin Millikin 0566f5fa27 Remove unnecessary test status lines
* The co19_2 test suite doesn't have collection/Maps at all.  Though
  test.py will ignore the unnecessary test status lines, there is no
  reason to have them.

* The co19 test suite has these tests but they are not expected to
  pass with a Dart 2 SDK.  They are already skipped for all Fasta
  targets, so the individual expectations can be removed.

Change-Id: I4d4c27254d4ff7da5a49da77fb2314b5beb035c1
Reviewed-on: https://dart-review.googlesource.com/c/78500
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Kevin Millikin <kmillikin@google.com>
2018-10-08 14:29:48 +00:00
Aske Simon Christensen ac77419209 Status file cleanup for dart2js.
Removed all sections labeled $compiler == dart2js and !$fasta.

Removed $fasta from all sections with $compiler == dart2js and merged
with existing sections as appropriate.

Some additional cleanup and normalization.

Change-Id: I8b93283a2cce22ce60e29d364c8d0e70dccbb6e3
Reviewed-on: https://dart-review.googlesource.com/71840
Commit-Queue: Aske Simon Christensen <askesc@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2018-08-30 10:28:41 +00:00
William Hesse 46743f3868 Remove $runtime == drt sections and uses of drt from status files.
Change-Id: Iffd934a67668901176a84c9b01512711a011652d
Reviewed-on: https://dart-review.googlesource.com/67803
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: William Hesse <whesse@google.com>
2018-08-03 12:40:46 +00:00
Sigmund Cherem abe03023b3 Skip co19 in ie11 for now
The co19-1 suite is broken due to changes to ALL_CAPS constants.

Once ie11 bots are migrated to the test-matrix, they will be updated to run
co19-2 and this change will not be necessary.

TBR=whesse@google.com,johnniwinther@google.com

Change-Id: I16d1e0dd40cabf89c60fe2ddce596b74ba12e615
Reviewed-on: https://dart-review.googlesource.com/66660
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2018-07-25 17:08:15 +00:00
Johnni Winther fadd6c0698 Update status for ie11
Change-Id: Ic6679377a913ad176048bc798cdd7633f97eb2e6
Reviewed-on: https://dart-review.googlesource.com/65301
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2018-07-17 08:28:15 +00:00
Sigmund Cherem 6f12cc3eb5 Fix FF and IE status to make bots green
TBR=johnniwinther@google.com

Change-Id: I675af39e5d04fd673ae97244d36c599cb25fd178
Reviewed-on: https://dart-review.googlesource.com/64246
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2018-07-09 23:21:26 +00:00
Johnni Winther acd8f345aa Update safari status
Change-Id: Ie3f8c9dbab19e6e714010b1ec1d839cf2b216594
Reviewed-on: https://dart-review.googlesource.com/64042
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2018-07-09 15:20:48 +00:00
Johnni Winther 1c673b1046 Include bounds in type literals
Change-Id: Ieb3e5b09e88c98f8943a6e7ca9031c8a6ab776e1
Reviewed-on: https://dart-review.googlesource.com/63820
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-07-09 12:24:04 +00:00
Sigmund Cherem b7b24e9bbe Update dart2js-strong status across several suites
Change-Id: I7550e3221bcfdb4f9281b2be96af8579848c5a69
Reviewed-on: https://dart-review.googlesource.com/63504
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2018-07-03 00:27:31 +00:00
Dan Rubel ee5fd81a93 Remove parser "synthetic_identifier_<#>"
This should fix https://github.com/dart-lang/sdk/issues/33157

Change-Id: I372d8b3f57388dea4e58673e4212fa69cfff2e72
Reviewed-on: https://dart-review.googlesource.com/63180
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Dan Rubel <danrubel@google.com>
2018-07-02 17:51:15 +00:00
Sigmund Cherem a4b27057f0 Make bots green again: mostly status updates, but also fix check in custom-element upgrades
Change-Id: Ic5e5b58be60261c4843f00eb090e0c1e4ed7e093
Reviewed-on: https://dart-review.googlesource.com/63325
Commit-Queue: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
2018-06-30 01:23:39 +00:00
Stephen Adams 05db72c331 update dart2js co19 status
TBR=sigmund@google.com

Change-Id: Idd384ec7a79c79645f29310d89eab1030edf414e
Reviewed-on: https://dart-review.googlesource.com/63020
Reviewed-by: Stephen Adams <sra@google.com>
2018-06-29 03:08:08 +00:00
Stephen Adams 6e108d709c Include native classes needed for RTI
Closes #33627

Change-Id: I9ed6bf9941df6445209a64c29af8986e382b7c51
Reviewed-on: https://dart-review.googlesource.com/62521
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
2018-06-28 23:16:28 +00:00
Stephen Adams d44e7e9b61 co19 firefox status update
TBR=sigmund@google.com

Change-Id: I4f49db74a0dd151badd4087b7e1851ae5441c597
Reviewed-on: https://dart-review.googlesource.com/62881
Reviewed-by: Stephen Adams <sra@google.com>
2018-06-28 17:20:37 +00:00
Aske Simon Christensen bd9aa5139a Error on cyclic constructor redirect.
Fixes https://github.com/dart-lang/sdk/issues/30856

Change-Id: Ib0cb851904fdcb12fff11bae92fe177739fe793f
Reviewed-on: https://dart-review.googlesource.com/60429
Commit-Queue: Aske Simon Christensen <askesc@google.com>
Reviewed-by: Peter von der Ahé <ahe@google.com>
2018-06-28 10:37:23 +00:00
William Hesse 37d9e79b1b Update co19 and co19 strong branch in DEPS
Change-Id: I0ab70e30f645efbf15e942e347be6d286d87b2c3
Reviewed-on: https://dart-review.googlesource.com/62141
Reviewed-by: Alexander Thomas <athom@google.com>
2018-06-27 16:19:21 +00:00
Jens Johansen 6888bc2824 Compile time error for web int literals that cannot be represented exactly
Bug: #33351
Change-Id: I2b99858dfc276dc70c3a36c289030e801145af86
Reviewed-on: https://dart-review.googlesource.com/61180
Commit-Queue: Jens Johansen <jensj@google.com>
Reviewed-by: Kevin Millikin <kmillikin@google.com>
2018-06-22 10:47:54 +00:00
Jens Johansen 276598199e Make DDK interpret IntLiteral.value as uint64
As per bug #33351, and based upon what dart2js does.

Change-Id: I18fec2685b22b094d191f4c70a58553a9132b86c
Reviewed-on: https://dart-review.googlesource.com/60841
Reviewed-by: Kevin Millikin <kmillikin@google.com>
2018-06-20 08:18:19 +00:00
William Hesse f1d44e39fa Update status for passing Windows Firefox co19 tests
Change-Id: If7d9aabe7a192be404e36f33cecf740cf392bc60
Reviewed-on: https://dart-review.googlesource.com/60844
Reviewed-by: Jens Johansen <jensj@google.com>
2018-06-19 08:10:41 +00:00
Johnni Winther b558a9c2f4 Handle missing compile-time errors
Closes #33468

Change-Id: I6da12012103ed465257335ce5bb81ba1fc54c81a
Reviewed-on: https://dart-review.googlesource.com/60500
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
2018-06-18 07:34:46 +00:00
Aske Simon Christensen 309baedc72 Mark some frequently flaky co19 dart2js tests.
Change-Id: Ia30d9e7b3ffc4ebf83c0d9fc9e16c687f615b0f1
Reviewed-on: https://dart-review.googlesource.com/60260
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Aske Simon Christensen <askesc@google.com>
2018-06-15 08:16:04 +00:00
Alexander Thomas e0552b0cdd [gardening] Update status for chrome minified csp
TBR=whesse@google.com

Change-Id: I26e13bf513f9a498231b247b831d73fa02245492
Reviewed-on: https://dart-review.googlesource.com/59094
Reviewed-by: Alexander Thomas <athom@google.com>
2018-06-07 15:29:23 +00:00