diff --git a/pkg/test_runner/lib/src/co19_test_config.dart b/pkg/test_runner/lib/src/co19_test_config.dart index f18bd0ee3df..680429565c5 100644 --- a/pkg/test_runner/lib/src/co19_test_config.dart +++ b/pkg/test_runner/lib/src/co19_test_config.dart @@ -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 diff --git a/tests/co19/co19-analyzer.status b/tests/co19/co19-analyzer.status new file mode 100644 index 00000000000..e409ffa5bda --- /dev/null +++ b/tests/co19/co19-analyzer.status @@ -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 diff --git a/tests/co19/co19-co19.status b/tests/co19/co19-co19.status index 1e0faa93d6b..64db75ace7b 100644 --- a/tests/co19/co19-co19.status +++ b/tests/co19/co19-co19.status @@ -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 - diff --git a/tests/co19/co19-dart2wasm.status b/tests/co19/co19-dart2wasm.status new file mode 100644 index 00000000000..3bd84c80fa1 --- /dev/null +++ b/tests/co19/co19-dart2wasm.status @@ -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. diff --git a/tests/co19/co19-kernel.status b/tests/co19/co19-kernel.status index be068384b42..b1e0cec2a49 100644 --- a/tests/co19/co19-kernel.status +++ b/tests/co19/co19-kernel.status @@ -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: diff --git a/tools/bots/test_matrix.json b/tools/bots/test_matrix.json index 28208823e6b..6016236dce3 100644 --- a/tools/bots/test_matrix.json +++ b/tools/bots/test_matrix.json @@ -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",