From ba3618aa444f6e43a04fb5cd89e7c1eada09d671 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Fri, 12 May 2023 23:16:50 -0400 Subject: [PATCH] Update linkage tests for https://github.com/apple/swift/pull/65884 --- Tests/SwiftParserTest/LinkageTests.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tests/SwiftParserTest/LinkageTests.swift b/Tests/SwiftParserTest/LinkageTests.swift index c17b92b3913..04e3ef39a8a 100644 --- a/Tests/SwiftParserTest/LinkageTests.swift +++ b/Tests/SwiftParserTest/LinkageTests.swift @@ -34,6 +34,7 @@ final class LinkageTest: XCTestCase { .library("-lswiftCompatibility51", condition: .mayBeAbsent("Starting in Xcode 14 this library is not always autolinked")), .library("-lswiftCompatibility56", condition: .mayBeAbsent("Starting in Xcode 14 this library is not always autolinked")), .library("-lswiftCompatibilityConcurrency"), + .library("-lswiftCompatibilityPacks", condition: .mayBeAbsent("Only in newer compilers")), .library("-lswiftCore"), .library("-lswiftDarwin", condition: .mayBeAbsent("Not present when building inside the compiler")), .library("-lswiftSwiftOnoneSupport", condition: .when(configuration: .debug)), @@ -50,6 +51,7 @@ final class LinkageTest: XCTestCase { .library("-lswiftCompatibility51", condition: .mayBeAbsent("Starting in Xcode 14 this library is not always autolinked")), .library("-lswiftCompatibility56", condition: .mayBeAbsent("Starting in Xcode 14 this library is not always autolinked")), .library("-lswiftCompatibilityConcurrency"), + .library("-lswiftCompatibilityPacks", condition: .mayBeAbsent("Only in newer compilers")), .library("-lswiftCore"), .library("-lswiftSwiftOnoneSupport", condition: .when(configuration: .debug)), .library("-lswift_Concurrency"), @@ -65,6 +67,7 @@ final class LinkageTest: XCTestCase { .library("-lswiftCompatibility51", condition: .mayBeAbsent("Starting in Xcode 14 this library is not always autolinked")), .library("-lswiftCompatibility56", condition: .mayBeAbsent("Starting in Xcode 14 this library is not always autolinked")), .library("-lswiftCompatibilityConcurrency"), + .library("-lswiftCompatibilityPacks", condition: .mayBeAbsent("Only in newer compilers")), .library("-lswiftCore"), .library("-lswiftSwiftOnoneSupport", condition: .when(configuration: .debug)), .library("-lswift_Concurrency"),