Skip to content

Commit 34ad0eb

Browse files
authored
Merge pull request #28071 from lorentey/cast-folding-backdeployment
Fix spurious test failure during back deployment tests
2 parents 49c0ae4 + 821f581 commit 34ad0eb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/Interpreter/bridged_casts_folding.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// the correct reason in the test. We want to separate a memory management error
66
// from a cast error which prints a nice error message.
77

8+
// FIXME: we should run this test if the OS-provided stdlib is recent enough.
9+
// UNSUPPORTED: use_os_stdlib
10+
811
// REQUIRES: executable_test
912
// REQUIRES: objc_interop
1013

test/lit.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,6 +1461,7 @@ if not kIsWindows:
14611461
"SIMCTL_CHILD_DYLD_LIBRARY_PATH='{0}' " # Simulator option
14621462
.format(target_stdlib_path, libdispatch_path)) + config.target_run
14631463
else:
1464+
config.available_features.add('use_os_stdlib')
14641465
os_stdlib_path = ''
14651466
if run_vendor == 'apple':
14661467
#If we get swift-in-the-OS for non-Apple platforms, add a condition here

0 commit comments

Comments
 (0)