Commit Graph

12 Commits

Author SHA1 Message Date
Konrad Malawski
7affd14c24 fix assertions in other test 2025-09-19 15:44:11 +09:00
Karoy Lorentey
5b9e49865b [test] Update availability tests 2024-06-13 18:00:45 -07:00
Artem Chikin
1f14158a1d Introduce VisionOS Platform
This change introduces a new compilation target platform to the Swift compiler - visionOS.

- Changes to the compiler build infrastrucuture to support building compiler-adjacent artifacts and test suites for the new target.
- Addition of the new platform kind definition.
- Support for the new platform in language constructs such as compile-time availability annotations or runtime OS version queries.
- Utilities to read out Darwin platform SDK info containing platform mapping data.
- Utilities to support re-mapping availability annotations from iOS to visionOS (e.g. 'updateIntroducedPlatformForFallback', 'updateDeprecatedPlatformForFallback', 'updateObsoletedPlatformForFallback').
- Additional tests exercising platform-specific availability handling and availability re-mapping fallback code-path.
- Changes to existing test suite to accomodate the new platform.
2024-04-10 09:38:02 -07:00
Konrad `ktoso` Malawski
7d7673b47a [Distributed] simplify version match in test (#72242) 2024-03-11 18:52:15 -07:00
Pavel Yaskevich
6e4b10af23 [Tests] Distributed: conditionalize deinit check 2024-03-08 09:52:39 -08:00
Konrad `ktoso` Malawski
3f1ccd0fd5 Improve test to confirm round-trip compilation from module or swiftinterface 2024-03-08 21:23:00 +09:00
Pavel Yaskevich
9dec6927de [Tests] Distributed: Fix interface printing test to expect properly resolved ActorID 2024-03-06 13:51:14 -08:00
Doug Gregor
63c8fe3e4d Clean up formatting in test cases 2024-02-14 21:53:54 -08:00
Doug Gregor
bae1026b77 Stop emitting conditions for Swift 5.5-era features into textual interfaces
The "#if compiler(>=5.3) && $AsyncAwait" checks were necessary for
staging in concurrency in Swift 5.5. At this point, it's safe to assume
that any compiler that tries to read a generated Swift interface file will
support concurrency, so we can stop emitting these guards.
2024-02-14 21:51:55 -08:00
Ben Barham
1e3aaa57fc [Test] Re-enable distributed-actor
It was `distributed-actors.swift` failing, not
`distributed-actor.swift`. That commit has since been reverted.
2023-07-01 10:49:42 -07:00
Ben Barham
488026cd3a [Test] Temporarily disable test to unblock PR testing 2023-06-30 09:08:40 -07:00
Allan Shortlidge
0e9b8a1e0a Sema: Relax distributed actor typechecking for swiftinterfaces.
Some decls that are expected to be synthesized for distributed actors are
printed explicitly in swiftinterfaces so diagnostics and assertions need to
take that possibility into account.

Resolves rdar://108533918
2023-04-26 08:44:44 -07:00