[vm/concurrency] Fix test to always pass --enable-isolate-groups (or the negative flag)

This makes the self-detection of whether isolate groups are enabled work
correctly in the test.

TEST=Fixes lib_2/isolate/message3_test test failures on CI

Change-Id: I71965236444af71e6deb4df6a77911144af9af91
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/212294
Auto-Submit: Martin Kustermann <kustermann@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
This commit is contained in:
Martin Kustermann 2021-09-02 22:15:55 +00:00 committed by commit-bot@chromium.org
parent 0c07cd6bc7
commit 177bc7d074
2 changed files with 4 additions and 2 deletions

View file

@ -7,7 +7,8 @@
// VMOptions=--no-enable-isolate-groups
// Dart test program for testing serialization of messages.
// VMOptions=--enable_type_checks --enable_asserts
// VMOptions=--enable_type_checks --enable_asserts --enable-isolate-groups
// VMOptions=--enable_type_checks --enable_asserts --no-enable-isolate-groups
library MessageTest;

View file

@ -9,7 +9,8 @@
// VMOptions=--no-enable-isolate-groups
// Dart test program for testing serialization of messages.
// VMOptions=--enable_type_checks --enable_asserts
// VMOptions=--enable_type_checks --enable_asserts --enable-isolate-groups
// VMOptions=--enable_type_checks --enable_asserts --no-enable-isolate-groups
library MessageTest;