Commit Graph

5 Commits

Author SHA1 Message Date
Saleem Abdulrasool
99453fc2e8 test: introduce a new %swift-plugin-dir macro
Use this to define the macro location rather than the "host" dir (which
is actually for the build and not the host).  Furthermore, on Windows,
the build dir is /usr/lib/swift as the host content is in the SDK.

This prepares the tests for Windows.
2023-09-04 13:04:18 -07:00
Doug Gregor
5edfc26156 Remove unnecessary --enable-experimental-feature InitAccessors from tests
This feature was accepted, so we no longer need to pass this flag. Worse,
it triggers errors in non-Asserts compilers. Fixes rdar://113708096.
2023-08-16 09:00:39 -07:00
Allan Shortlidge
024ed957cd NFC: Re-enable ObservableAvailabilityCycle.swift test. 2023-08-08 15:58:08 -07:00
Slava Pestov
c9225db156 Disable test/stdlib/Observation/ObservableAvailabilityCycle.swift 2023-08-04 10:20:04 -04:00
Doug Gregor
c098175059 Add test case involving circular references with @Observable
Add a test case for Observable types that are extended from other
source files. Prior to the recent changes to make
`TypeRefinementContext` more lazy, this would trigger circular
references through the `TypeRefinementContextBuilder`.

Finishes rdar://112079160.
2023-08-02 15:07:09 -07:00