Commit graph

3227 commits

Author SHA1 Message Date
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
Alexander Thomas
19b7a3e2b5 [infra] Use dart-lang/co19 issue links in co19 rolls
* Add dart-lang/co19 in front of #123 issue references.
* Update the co19_2 script to match the co19 script.
* Track main from the roll branches.
* Add a comment between the two co19 hashes to prevent merge conflicts.

Fixes: b/200911019
Change-Id: I2806ac7e9cd5ff3d24cac0e50a1d094163b35d7a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/214046
Reviewed-by: William Hesse <whesse@google.com>
2021-09-23 15:51:06 +00:00
asiva
775df25714 [VM/tests] - Skip top_level_method test on simarm archs to see if it fixes the purple bots.
Change-Id: I47f52965a75e42fbeee08b105389a83ff02c90af
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213528
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2021-09-16 20:56:05 +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
Alexander Thomas
ef850dbdec [co19] Skip flawed tests on latest co19 roll
The top_level_main tests starts themselves via
Platform.resolvedExecutable which causes them to turn into a fork bombs
on AOT. On web, dart:io is not supported.

https://github.com/dart-lang/co19/issues/1137

findProxy tests are timing out on all relevant platforms.

https://github.com/dart-lang/co19/issues/1129

Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-nnbd-win-release-x64-try
Change-Id: If1e4d0c26d5d40cd60e5e8a8dd4600b85668da5e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209706
Reviewed-by: William Hesse <whesse@google.com>
2021-08-11 13:29:59 +00:00
Irina Arkhipets
79a61fab8f [co19] Remove Compiler-tear-offs tests from status files.
Change-Id: Ia41537d3a4c5951841de92507c62711d1f2d8fd5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/202240
Reviewed-by: Erik Ernst <eernst@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2021-06-03 10:49:04 +00:00
Irina Arkhipets
7c9abd9faa [co19] Constructor Tear Offs tests skipped as not implemented
Change-Id: I27b2ae9b091dbc3649ecf1a6dea8da19f4de5f84
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/200431
Reviewed-by: Erik Ernst <eernst@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2021-05-19 08:19:47 +00:00
Sergey G. Grekhov
391d5c409b [co19] Status files cleanup
Change-Id: Ia22499d5681213017b09eac818f4f57e1fba2885
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196485
Reviewed-by: Erik Ernst <eernst@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2021-04-22 13:40:48 +00:00
Sergey G. Grekhov
2988d39d59 [co19] Enables slow tests on dartdevk and dartdevc
Change-Id: Id44d372ed90c54523c9dde4659b4776923dfcadf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196488
Reviewed-by: Erik Ernst <eernst@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2021-04-22 13:40:46 +00:00
Irina Arkhipets
6645753681 [co19] Tests skipped for analyzer
Change-Id: I8c54082c937b28a74500740a0576f4b29c8989f3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196325
Reviewed-by: Erik Ernst <eernst@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2021-04-22 10:37:36 +00:00
Alexander Thomas
5a7fe188db [co19] Fix update script to prevent incorrect issue links again
This functionality was accidentally broken in a previous CL.

Change-Id: Ia479bc9557ecb1aa2f4e1536fc694de270984eac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195069
Reviewed-by: Jonas Termansen <sortie@google.com>
2021-04-13 13:42:12 +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
Erik Ernst
295c0619be [co19] remove skips is a status files motivated by language issue 115
Change-Id: I825985e5cdbf25b144a9dc6adcee376799b4c064
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193402
Reviewed-by: Erik Ernst <eernst@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2021-03-30 16:37:41 +00:00
Leaf Petersen
5caf594a40 Remove a large number of nonfunction type alias test skips.
The co19 status file was unskipping a large number of tests on all
platforms except fasta.  Now that this is shipping, I believe these
should be run.

Change-Id: I2f4eef15cfac0b9e5fb662376e533f6f39877378
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/193095
Auto-Submit: Leaf Petersen <leafp@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
2021-03-30 00:31:55 +00:00
Sergey G. Grekhov
79f6f64836 [co19] Removed obsolete entries from co19-kernel.status
Cq-Include-Trybots: dart/try:dart2js-nnbd-linux-x64-chrome-try,ddc-nnbd-linux-release-chrome-try,front-end-nnbd-linux-release-x64-try,vm-kernel-nnbd-linux-debug-x64-try,vm-kernel-nnbd-linux-release-simarm64-try,vm-kernel-nnbd-linux-release-x64-try,vm-kernel-nnbd-mac-release-x64-try,vm-kernel-nnbd-win-release-x64-try,vm-kernel-precomp-nnbd-linux-debug-x64-try,vm-kernel-precomp-nnbd-linux-release-simarm64-try,vm-kernel-precomp-nnbd-linux-release-x64-try
Change-Id: I426cdcb95cb726b52d4510d92d67be49b364accd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192931
Commit-Queue: Erik Ernst <eernst@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
2021-03-29 12:04:27 +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
Nicholas Shahan
453b06d222 [tests] Remove triple shift test skips from status files
There are also skips for these tests in the legacy (*_2) suites.
I'm leaving those as skips because I think they will never be
expected to work since you have to opt into a newer language
version to get the feature.

Change-Id: I1631b1523c6a9be9a14c69c8cf772ea58309c706
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/191482
Commit-Queue: Nicholas Shahan <nshahan@google.com>
Reviewed-by: Stephen Adams <sra@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2021-03-19 02:32:34 +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
Alexander Thomas
aaff982970 [co19] Skip LibTest/ffi/Array/PointerArray_A01_t01
The test crashes and causes purple builds on Windows.

https://github.com/dart-lang/co19/issues/1018

Change-Id: Ifbef5bb3c30fa699f341fdfc4bd60a3a7e97e2d2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/191621
Reviewed-by: Ben Konyi <bkonyi@google.com>
2021-03-17 18:20:06 +00:00
Ryan Macnak
5a385890b9 [test] Apply simarm64 status file entries to simarm64c.
Remove references to the removed simarmv6 architecture.

TEST=ci
Change-Id: I10e9fc8291c3e5b6b9a4bd71ca05de95e53f22c6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/187500
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2021-02-25 21:18:02 +00:00
Sergey G. Grekhov
d1ce159498 [co19] Enable type aliases tests
Change-Id: I64b9e03fcb883abafdb81e8ede4b2c49ef1c2562
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/185082
Reviewed-by: William Hesse <whesse@google.com>
2021-02-25 18:00:50 +00:00
William Hesse
8b93898c95 [co19] Skip ffi tests on simarm vm architectures
Fixes: https://github.com/dart-lang/sdk/issues/45073
Change-Id: I87f1ed3d00a243dc3d67de8af6cee272ec2aeefc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/186282
Reviewed-by: Daco Harkes <dacoharkes@google.com>
2021-02-25 15:21:17 +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
17499b302e [co19] Broken links in a status files fixed
Change-Id: I84b03b70949a64a5683efce17c5e12049b07add0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/174401
Reviewed-by: Alexander Thomas <athom@google.com>
2020-11-30 07:17:50 +00:00
sgrekhov
395d37fcb5 [co19] Enable tests that start processes on AOT
Change-Id: Ifbe46a7419cc4332136fb5e29e880ed90d0a190c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/172504
Reviewed-by: Alexander Thomas <athom@google.com>
2020-11-27 07:12:32 +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
William Hesse
65b424b3fd Skip VM tests that hang on Windows
Three dart:io tests in the co19 suite are hanging, causing
test infrastructure failures. Skipping them until the problem is fixed.

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

Change-Id: I5102eef49bf094158535aa2b938930994d4df4dd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/169880
Reviewed-by: Martin Kustermann <kustermann@google.com>
2020-10-30 11:20:43 +00:00
Alexander Markov
f4afdb3d76 [Tests] Skip slow co19 tests on simarm* and aot/debug configurations
These tests involve large list literals which are very slow to
compile in AOT/debug mode, or they perform a large amount of work
which is too slow on simulated architectures (simarm, simarm64).

Closes https://github.com/dart-lang/sdk/issues/43614

Change-Id: Iafe1407247cc69e641d1e63f47b4c3d9f6eea35f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/168782
Reviewed-by: Siva Annamalai <asiva@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2020-10-22 17:09:40 +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
ec7eb45058 [co19] Instantiate to bound typedef static tests enabled
Change-Id: Ifa942d5ebfe7410ba25284a7972c7e2c05ceff16
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/166633
Reviewed-by: Alexander Thomas <athom@google.com>
2020-10-10 07:17:33 +00:00
Alexander Markov
e9aa232066 Remove remaining tests for bytecode mode
Change-Id: I9690bd8a9bdcf16963424c64c1b80628e50fa28a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/166922
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2020-10-09 22:30:19 +00:00
Alexander Thomas
679e2a2e21 [infra] Use Cq-Include-Trybots instead of git cl try for co19 rolls
Cq-Include-Trybots allows the CQ to submit the rolls safely and allows
for editorial control of which tryjobs to run for a given roll before
starting them.

Also formats the jq program according to go/bash-style/#s5.3-pipelines.

Change-Id: Ib072c971b06bd1e4bbff05887c8a84434c5949ab
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/166637
Reviewed-by: Jonas Termansen <sortie@google.com>
2020-10-09 12:45:32 +00:00
sgrekhov
e4992c1124 [co19] Instantiate to bound classes/static tests enabled
Change-Id: Ie313712ed487e0e9c1be2ae82a29feb84ce3cd8a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/166001
Reviewed-by: Alexander Thomas <athom@google.com>
2020-10-06 08:23:36 +00:00
sgrekhov
78e30b039e [co19] Enable instantiate to bound tests
Change-Id: Ie7894c39ec5fdee519c617862c32e3aaa263488b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161161
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2020-10-05 10:52:45 +00:00
Alexander Thomas
80d8864b68 [testing] Skip slow test on AOT/debug with null-safety enabled
This test takes 16 to 32mins on bots before timing out without producing
a result.

Possibly related issue:
https://github.com/dart-lang/sdk/issues/43614

Change-Id: Ic0bf79e6d1b5276c7dae99b7c8f719e0f706e1a4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/166000
Reviewed-by: Karl Klose <karlklose@google.com>
2020-10-05 09:47:21 +00:00
sgrekhov
4477003f80 [co19] Simple bounds tests enabled
Change-Id: I8016f271339c8fa2b0fba44aa04daf674ae15145
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164082
Reviewed-by: Alexander Thomas <athom@google.com>
2020-10-01 06:36:52 +00:00
sgrekhov
7d806946d5 [co19] Spread collections tests enabled
Change-Id: Ie773be4e205611030ce1b9ec61d7d34818ea9b6c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/163344
Reviewed-by: Alexander Thomas <athom@google.com>
2020-09-22 12:33:49 +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
f87863b13b [co19] Assert and int-to-double tests enabled
Change-Id: Ibbd2c1e5dacaf0f7b94e70a321459b2efdceb0ad
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/163340
Reviewed-by: Alexander Thomas <athom@google.com>
2020-09-21 10:44:45 +00:00
Tess Strickland
781094f2ce [vm/bytecode] Add parameter flags to FunctionDeclaration.
We create the parameter names array when loading the
FunctionDeclaration, but the required parameter flags are only set later
when we load the Code declaration. If there's an intermediate use of the
Function object that copies the required parameter flags, like creating
an ImplicitClosureFunction when loading a tearoff stored in the object
pool, there will be no set flags at that point.

Add a copy of the parameter flags to the FunctionDeclaration so the
required flags can be set at the same time as the parameter name and
type to avoid this scenario.

To avoid adding unneeded flags to the kernel bytecode, we only serialize
the parameter flags needed for each declaration, so FunctionDeclaration
and ClosureDeclaration only contain the required flag, and Code contains
all flags _but_ the required flag.

There are no trybots for strong mode + bytecode, but manually checked
by running the following on the main branch (cherry-picking the
test_matrix.json changes) and this branch:

python tools/test.py \
    -n dartkb-mixed-strong-linux-release-x64,dartkb-interpret-strong-linux-release-x64 \
    tests/language/nnbd/required_named_parameters/missing_required_argument_dynamic_test.dart

Cq-Include-Trybots: luci.dart.try:vm-dartkb-linux-release-simarm64-try,vm-dartkb-linux-release-x64-try
Change-Id: Ic75b831d5ceed08154e2c61b8f64461705558653
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/162501
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Tess Strickland <sstrickl@google.com>
2020-09-14 15:28:20 +00:00
sgrekhov
17cf1b780c [co19] Some LanguageFeatures and Utils tests enabled
Change-Id: I54a134e20e394510e808737421d081cea1ea0d50
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161702
Reviewed-by: Alexander Thomas <athom@google.com>
2020-09-09 06:44:41 +00:00
sgrekhov
a0f67bc9ed [co19] Set literals tests enabled
Change-Id: I3bbc3558770143b4b97eb08c014dcf250bb2cf70
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161162
Reviewed-by: Alexander Thomas <athom@google.com>
2020-09-03 07:38:01 +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
460c2d2ef2 [co19] Constants update and control flow tests enabled
Change-Id: I72575789508b625c4430e475aae5171b40c8751c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161100
Reviewed-by: William Hesse <whesse@google.com>
2020-08-31 13:38:52 +00:00
sgrekhov
f2a124a743 [co19] LanguageFeatures/Extension-methods tests enabled
Change-Id: I68c3517b3e1b1813c62b4064d4ab73023c7649e0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/160523
Reviewed-by: Alexander Thomas <athom@google.com>
2020-08-28 12:56:43 +00:00
sgrekhov
3193e06783 [co19] Enable rest of LibTest/io tests
Change-Id: Ie0b73cc127b2e7e18715ff930a38beb18b9a717c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/160065
Reviewed-by: Alexander Thomas <athom@google.com>
2020-08-28 12:35:39 +00:00