[test] Add support of dart2wasm.status in co19 tests

Fixes: #54971

Change-Id: I033c8ba78e6cdcf26dce9cae8998308a595a37e9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/353262
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
This commit is contained in:
Sergey G. Grekhov 2024-02-21 14:03:23 +00:00 committed by Commit Queue
parent d7c868f6a7
commit 3b52517bca
6 changed files with 33 additions and 16 deletions

View file

@ -14,12 +14,13 @@ class Co19TestSuite extends StandardTestSuite {
// These files also need to be listed in the filesets in
// test_matrix.json so they will be copied to the bots running the
// test shards.
"tests/$selector/$selector-co19.status",
"tests/$selector/$selector-analyzer.status",
"tests/$selector/$selector-runtime.status",
"tests/$selector/$selector-co19.status",
"tests/$selector/$selector-dart2js.status",
"tests/$selector/$selector-dart2wasm.status",
"tests/$selector/$selector-dartdevc.status",
"tests/$selector/$selector-kernel.status"
"tests/$selector/$selector-kernel.status",
"tests/$selector/$selector-runtime.status"
]);
@override

View file

@ -0,0 +1,6 @@
# Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
[ $compiler == dart2analyzer ]
LanguageFeatures/nnbd/static/weak/*: SkipByDesign # Weak mode tests should not be run with analyzer

View file

@ -1,8 +1,3 @@
# Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
[ $compiler == dart2analyzer ]
LanguageFeatures/nnbd/static/strong/*: SkipByDesign # Strong mode tests should not be run with analyzer
LanguageFeatures/nnbd/static/weak/*: SkipByDesign # Weak mode tests should not be run with analyzer

View file

@ -0,0 +1,16 @@
# Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
[ $compiler == dart2wasm ]
Language/Expressions/Constants/Constant_Contexts/constant_context_A02_t01: SkipByDesign # dart:mirrors is not supported.
Language/Expressions/Spawning_an_Isolate/new_isolate_t01: SkipByDesign # dart:isolate is not supported.
Language/Libraries_and_Scripts/Scripts/top_level_main_t01: SkipByDesign # dart:io is not supported.
Language/Libraries_and_Scripts/Scripts/top_level_main_t06: SkipByDesign # dart:io is not supported.
Language/Types/Interface_Types/subtype_t27: Skip # https://github.com/dart-lang/sdk/issues/42641
LanguageFeatures/FinalizationRegistry/ffi/*: SkipByDesign # dart:ffi is not supported.
LibTest/ffi/*: SkipByDesign # dart:ffi is not supported.
LibTest/html/*: SkipByDesign # dart:html is not supported.
LibTest/io/*: SkipByDesign # dart:io is not supported.
LibTest/isolate/*: SkipByDesign # dart:isolate is not supported.
LibTest/mirrors/*: SkipByDesign # dart:mirrors is not supported.

View file

@ -2,14 +2,6 @@
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
[ $compiler == dart2wasm ]
LanguageFeatures/FinalizationRegistry/ffi/*: SkipByDesign # Uses FFI OS calls to trigger GC
LibTest/ffi/*: SkipByDesign
LibTest/html/*: SkipByDesign
LibTest/io/*: SkipByDesign
LibTest/isolate/*: SkipByDesign
LibTest/mirrors/*: SkipByDesign
[ $runtime == dart_precompiled ]
LibTest/mirrors/*: SkipByDesign # dart:mirrors is not supported:

View file

@ -21,8 +21,10 @@
"pkg/",
"runtime/tests/",
"sdk/",
"tests/co19/co19-analyzer.status",
"tests/co19/co19-co19.status",
"tests/co19/co19-dart2js.status",
"tests/co19/co19-dart2wasm.status",
"tests/co19/co19-dartdevc.status",
"tests/co19/co19-kernel.status",
"tests/co19/co19-runtime.status",
@ -48,8 +50,10 @@
"pkg/",
"runtime/tests/",
"sdk/",
"tests/co19/co19-analyzer.status",
"tests/co19/co19-co19.status",
"tests/co19/co19-dart2js.status",
"tests/co19/co19-dart2wasm.status",
"tests/co19/co19-dartdevc.status",
"tests/co19/co19-kernel.status",
"tests/co19/co19-runtime.status",
@ -85,6 +89,7 @@
"tests/co19/co19-analyzer.status",
"tests/co19/co19-co19.status",
"tests/co19/co19-dart2js.status",
"tests/co19/co19-dart2wasm.status",
"tests/co19/co19-dartdevc.status",
"tests/co19/co19-kernel.status",
"tests/co19/co19-runtime.status",
@ -116,6 +121,7 @@
"tests/co19/co19-analyzer.status",
"tests/co19/co19-co19.status",
"tests/co19/co19-dart2js.status",
"tests/co19/co19-dart2wasm.status",
"tests/co19/co19-dartdevc.status",
"tests/co19/co19-kernel.status",
"tests/co19/co19-runtime.status",
@ -189,6 +195,7 @@
"tests/co19/co19-analyzer.status",
"tests/co19/co19-co19.status",
"tests/co19/co19-dart2js.status",
"tests/co19/co19-dart2wasm.status",
"tests/co19/co19-dartdevc.status",
"tests/co19/co19-kernel.status",
"tests/co19/co19-runtime.status",