swiftlang / swift-corelibs-foundation

The Foundation Project, providing core utilities, internationalization, and OS independence
swift.org
Apache License 2.0
5.29k stars 1.14k forks source link

Fix a test marked `@MainActor` but not `async`. #5088

Closed grynspan closed 2 months ago

grynspan commented 2 months ago

SPM and swift-corelibs-xctest do not support main-actor-isolated tests unless they are marked async because the compilation stage that finds tests is not actor-aware. This test is preventing us from merging https://github.com/swiftlang/swift-package-manager/pull/7967.

grynspan commented 2 months ago

@swift-ci test

grynspan commented 2 months ago

@swift-ci test Windows

parkera commented 2 months ago

@swift-ci test