Commit 1413d37
authored
[test] Mark test as UNSUPPORTED when maccatalyst_support is enabled (#84657)
If one tries to enable maccatalyst_support (which doesn't work
correctly, see #77506), this test fails because `Swift.swiftmodule` gets
generated with both `-target` and `-target-variant`
`swift-module-flags`, which triggers the usage of the
`isOSVersionAtLeastOrVariantAtLeast` version of version check, which
does not match the test `CHECK` lines.
Mark the test as `UNSUPPORTED` when the feature is enabled. Not sure if
the test can be rewritten conditionally on a feature being support and
checking for different functions in the IR.
This should not affect swift.org CI because that CI never enables
maccatalyst_support.1 parent b4fb574 commit 1413d37
File tree
1 file changed
+4
-0
lines changed- test/IRGen/temporary_allocation
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
0 commit comments