Skip to content

Commit a82dda5

Browse files
committed
Always use the older available for concurrency in tests
1 parent 5999743 commit a82dda5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/lit.cfg

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -407,11 +407,7 @@ lit_config.note('Compiling with -swift-version ' + swift_version)
407407
config.swift_test_options = '-swift-version ' + swift_version
408408

409409
# Define a macro for the next release OS version.
410-
# This macro can be used in code as `@available(SwiftStdlib 5.5, *)`.
411-
if 'back_deploy_concurrency' in config.available_features:
412-
swift_stdlib_macro = '\'SwiftStdlib 5.5:macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0\''
413-
else:
414-
swift_stdlib_macro = '\'SwiftStdlib 5.5:macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0\''
410+
swift_stdlib_macro = '\'SwiftStdlib 5.5:macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0\''
415411
config.swift_frontend_test_options += ' -define-availability ' + swift_stdlib_macro
416412
config.swift_driver_test_options += ' -Xfrontend -define-availability -Xfrontend ' + swift_stdlib_macro
417413

0 commit comments

Comments
 (0)