dart-sdk/tests/language/language_precompiled.status
Alexander Markov b285115893 [tests] Fix expectations in language/async_star/async_star_await_for_test
According to the language specification:
1) When 'break' is executed in the 'await for' loop (in 'main'),
the underlying stream subscription is canceled.
2) When async* function ('consume') has stopped at 'yield' or 'yield*',
and the stream is canceled, the 'yield' / 'yield*' statement returns
without an object. It also means that code in 'consume()' after
the loop is not executed and it doesn't append ")" to the log.
So the test expectations are fixed to avoid expecting trailing ")"
at the log when there is a 'break' out of the 'await for' loop.

Fixes https://github.com/dart-lang/sdk/issues/51097

Change-Id: Ia59e87ef84dcb8a0c06a47f497cc97d4c6635d27
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/285343
Reviewed-by: Lasse Nielsen <lrn@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2023-02-27 16:25:50 +00:00

39 lines
1.7 KiB
Plaintext

# Copyright (c) 2017, 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.
# Sections in this file should start with "$runtime == dart_precompiled".
[ $arch == arm64 && $runtime == dart_precompiled ]
class/large_class_declaration_test: SkipSlow # Uses too much memory.
setter/setter4_test: MissingCompileTimeError
[ $arch == ia32 && $runtime == dart_precompiled ]
vm/regress_24517_test: Pass, Fail # Issue 24517.
[ $compiler != dart2analyzer && $runtime == dart_precompiled ]
mixin/mixin2_test: Skip
[ $runtime == dart_precompiled && $minified ]
enum/duplicate_test/*: Skip # Uses Enum.toString()
enum/enum_test: Skip # Uses Enum.toString()
enum/private_test/*: Skip # Uses Enum.toString()
mixin/generic_test: Skip
mixin/mixin3_test: Skip
mixin/mixin5_test: Skip
mixin/mixin6_test: Skip
mixin/mixin_bound2_test: Skip
mixin/mixin_type_arguments_test: Skip
mixin/super_2_test: Skip
no_such_method/dispatcher_test: Skip # Uses new Symbol()
stack_trace/full1_test: Skip
stack_trace/full2_test: Skip
stack_trace/full3_test: Skip
unsorted/cyclic_type_test/*: Skip
vm/no_such_args_error_message_vm_test: Skip
vm/no_such_method_error_message_callable_vm_test: Skip
vm/no_such_method_error_message_vm_test: Skip
[ $runtime == dart_precompiled && ($mode == product || $minified) ]
stack_trace/rethrow_error_test: SkipByDesign # obfuscation/minification and instruction deduplication cause names of frames to be mangled (expected)
stack_trace/rethrow_nonerror_test: SkipByDesign # obfuscation/minification and instruction deduplication cause names of frames to be mangled (expected)