From 4cbf367b94ff6048f5c38ea6dc3a79961fbdad2c Mon Sep 17 00:00:00 2001 From: Ben Konyi Date: Wed, 17 Dec 2025 11:54:43 -0800 Subject: [PATCH] [ dart2bytecode ] Skip more tests that depend on dart:mirrors Change-Id: I3dadc31c7cb2ba351ec797d8a851d82bf5bab232 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/468920 Reviewed-by: Alexander Markov Commit-Queue: Ben Konyi Auto-Submit: Ben Konyi --- pkg/pkg.status | 4 ++++ runtime/tests/vm/vm.status | 2 ++ tests/standalone/standalone.status | 1 + 3 files changed, 7 insertions(+) diff --git a/pkg/pkg.status b/pkg/pkg.status index b6c03ef3e22..f044d20dcc1 100644 --- a/pkg/pkg.status +++ b/pkg/pkg.status @@ -74,6 +74,10 @@ vm_snapshot_analysis/test/instruction_sizes_test: Pass, Slow # https://github.co [ $compiler == dart2analyzer ] dev_compiler/test/options/*: SkipByDesign +[ $compiler == dart2bytecode ] +vm_service/test/mirror_references_test: SkipByDesign # Uses 'dart:mirrors' library +vm_service/test/weak_properties_test: SkipByDesign # Uses 'dart:mirrors' library + [ $compiler == dart2js ] _fe_analyzer_shared/test/*: SkipByDesign # Only meant to run on vm analysis_server/test/integration: SkipByDesign # Analysis server integration tests don't make sense to run under dart2js, since the code under test always runs in the Dart vm as a subprocess. diff --git a/runtime/tests/vm/vm.status b/runtime/tests/vm/vm.status index 056260b6c95..03eb718e0f8 100644 --- a/runtime/tests/vm/vm.status +++ b/runtime/tests/vm/vm.status @@ -78,6 +78,7 @@ cc/ChainInduction: SkipByDesign # Building flow graph is not supported from byte cc/CheckStackOverflowElimination_NoInterruptsPragma: SkipByDesign # Building flow graph is not supported from bytecode. cc/CompileFunction*: SkipByDesign # JIT compilation is not supported from bytecode. cc/ConstantFold_bitLength: SkipByDesign # Building flow graph is not supported from bytecode. +cc/CreateMirrorSystem: SkipByDesign # dart:mirrors is not supported. cc/DelayAllocations_*: SkipByDesign # Building flow graph is not supported from bytecode. cc/DeoptimizeFramesWhenSettingBreakpoint: SkipByDesign # JIT compilation is not supported from bytecode. cc/DerivedInduction: SkipByDesign # Building flow graph is not supported from bytecode. @@ -87,6 +88,7 @@ cc/IRTest_*: SkipByDesign # Building flow graph is not supported from bytecode. cc/Inliner_*: SkipByDesign # Building flow graph is not supported from bytecode. cc/IsolateReload_EnumWithSet: SkipByDesign # Bytecode doesn't support KernelProgramInfo. cc/IsolateReload_RegressB179030011: SkipByDesign # Bytecode doesn't support concatenated kernel programs. +cc/IsolateReload_TypeIdentityParameter: SkipByDesign # dart:mirrors is not supported. cc/LICM_Deopt_*: SkipByDesign # JIT compilation is not supported from bytecode. cc/LoadOptimizer_Redundant*: SkipByDesign # Building flow graph is not supported from bytecode. cc/NonStrictCondition*: SkipByDesign # Building flow graph is not supported from bytecode. diff --git a/tests/standalone/standalone.status b/tests/standalone/standalone.status index e1cc2f7e3fc..047424559b0 100644 --- a/tests/standalone/standalone.status +++ b/tests/standalone/standalone.status @@ -49,6 +49,7 @@ deferred_transitive_import_error_test: Skip [ $compiler == dart2bytecode ] io/http_redirect_test: SkipByDesign # dart:mirrors is not supported. +io/issue_46436_test: SkipByDesign # dart:mirrors is not supported. [ $compiler == dartkp ] lazy_async_stack_test: Skip # Flaky.