Skip to content

Commit 0e2f63a

Browse files
committed
Disable some tests that will fail on back deployment library configurations
rdar://76567524 rdar://76567105
1 parent 4d69559 commit 0e2f63a

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

test/Interpreter/multi_payload_extra_inhabitant.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
// REQUIRES: executable_test
1111
// UNSUPPORTED: use_os_stdlib
12+
// UNSUPPORTED: back_deployment_runtime
1213

1314
// CHECK-NOT: Type verification
1415

test/Interpreter/struct_extra_inhabitants.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
// REQUIRES: executable_test
1515
// UNSUPPORTED: use_os_stdlib
16+
// UNSUPPORTED: back_deployment_runtime
1617

1718
// CHECK-NOT: Type verification
1819

test/Runtime/demangleToMetadata.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// REQUIRES: executable_test
66
// REQUIRES: concurrency
77
// UNSUPPORTED: use_os_stdlib
8+
// UNSUPPORTED: back_deployment_runtime
89

910
import Swift
1011
import StdlibUnittest

test/lit.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,6 +1569,10 @@ ENV_VAR_PREFIXES = {
15691569
}
15701570
TARGET_ENV_PREFIX = ENV_VAR_PREFIXES.get(config.target_sdk_name, "") if not kIsAndroid else ""
15711571

1572+
back_deployment_runtime = lit_config.params.get('back_deployment_runtime', None)
1573+
if back_deployment_runtime is not None:
1574+
config.available_features.add('back_deployment_runtime')
1575+
15721576
if 'remote_run_host' in lit_config.params:
15731577
if 'remote_run_tmpdir' not in lit_config.params:
15741578
lit_config.fatal("'remote_run_host' provided, but no "

0 commit comments

Comments
 (0)