dart-sdk/tests/language/language_vm.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

27 lines
1.9 KiB
Text

# 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 contain "$runtime == vm".
[ $compiler == dartkp ]
assert/initializer_const_error2_test/cc01: MissingCompileTimeError # Not reporting failed assert() at compile time.
assert/initializer_const_error2_test/cc02: MissingCompileTimeError # Not reporting failed assert() at compile time.
assert/initializer_const_error2_test/cc03: MissingCompileTimeError # Not reporting failed assert() at compile time.
assert/initializer_const_error2_test/cc04: MissingCompileTimeError # Not reporting failed assert() at compile time.
assert/initializer_const_error2_test/cc05: MissingCompileTimeError # Not reporting failed assert() at compile time.
assert/initializer_const_error2_test/cc06: MissingCompileTimeError # Not reporting failed assert() at compile time.
assert/initializer_const_error2_test/cc07: MissingCompileTimeError # Not reporting failed assert() at compile time.
assert/initializer_const_error2_test/cc08: MissingCompileTimeError # Not reporting failed assert() at compile time.
assert/initializer_const_error2_test/cc09: MissingCompileTimeError # Not reporting failed assert() at compile time.
assert/initializer_const_error2_test/cc10: MissingCompileTimeError # Not reporting failed assert() at compile time.
assert/initializer_const_error2_test/cc11: MissingCompileTimeError # Not reporting failed assert() at compile time.
[ $arch == arm64 && $runtime == vm ]
class/large_class_declaration_test: SkipSlow # Uses too much memory.
closure/cycles_test: Pass, Slow
[ $arch == ia32 && $mode == release && $runtime == vm ]
syntax/deep_nesting_expression_test/01: Crash, Pass # Issue 31496
[ $runtime == dart_precompiled || $runtime == vm ]
superinterface_variance/*: Skip # Issue dart-lang/language#113