Skip to content

Commit 7b03ea5

Browse files
authored
Merge pull request #19641 from jrose-apple/overlay-more-like-overzealous
2 parents f2048ce + e316534 commit 7b03ea5

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

validation-test/ModuleInterface/verify_all_overlays.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: for x in %platform-sdk-overlay-dir/*.swiftinterface; do [[ $(basename "$x") = Swift.swiftinterface || $(basename "$x") = simd.swiftinterface ]] && continue; %target-swift-frontend "$x" -emit-module -o %t/$(basename "${x/.*}").swiftmodule -disable-objc-attr-requires-foundation-module -enable-resilience -Fsystem %sdk/System/Library/PrivateFrameworks/ -swift-version 4 || echo '%target-os:' $(basename "$x") >> %t/failures.txt; done
2+
// RUN: for x in %platform-sdk-overlay-dir/*.swiftinterface; do [[ $(basename "$x") = Swift.swiftinterface || $(basename "$x") = simd.swiftinterface || $(basename "$x") = SwiftLang.swiftinterface ]] && continue; %target-swift-frontend "$x" -emit-module -o %t/$(basename "${x/.*}").swiftmodule -disable-objc-attr-requires-foundation-module -enable-resilience -Fsystem %sdk/System/Library/PrivateFrameworks/ -swift-version 4 || echo '%target-os:' $(basename "$x") >> %t/failures.txt; done
33
// RUN: diff <(grep '%target-os:' %s) <(sort -f %t/failures.txt)
44

55
// REQUIRES: nonexecutable_test
@@ -13,9 +13,6 @@ ios: CloudKit.swiftinterface
1313
tvos: CloudKit.swiftinterface
1414
watchos: CloudKit.swiftinterface
1515

16-
// Missing search path for sourcekitd.framework.
17-
macosx: SwiftLang.swiftinterface
18-
1916
// Needs to be built as Swift 4.2.
2017
ios: UIKit.swiftinterface
2118
tvos: UIKit.swiftinterface

validation-test/ModuleInterface/verify_all_overlays_O.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: for x in %platform-sdk-overlay-dir/*.swiftinterface; do [[ $(basename "$x") = Swift.swiftinterface || $(basename "$x") = simd.swiftinterface ]] && continue; %target-swift-frontend "$x" -emit-module -o %t/$(basename "${x/.*}").swiftmodule -disable-objc-attr-requires-foundation-module -enable-resilience -Fsystem %sdk/System/Library/PrivateFrameworks/ -swift-version 4 -O || echo '%target-os:' $(basename "$x") >> %t/failures.txt; done
2+
// RUN: for x in %platform-sdk-overlay-dir/*.swiftinterface; do [[ $(basename "$x") = Swift.swiftinterface || $(basename "$x") = simd.swiftinterface || $(basename "$x") = SwiftLang.swiftinterface ]] && continue; %target-swift-frontend "$x" -emit-module -o %t/$(basename "${x/.*}").swiftmodule -disable-objc-attr-requires-foundation-module -enable-resilience -Fsystem %sdk/System/Library/PrivateFrameworks/ -swift-version 4 -O || echo '%target-os:' $(basename "$x") >> %t/failures.txt; done
33
// RUN: diff <(grep '%target-os:' %s) <(sort -f %t/failures.txt)
44

55
// REQUIRES: nonexecutable_test
@@ -13,9 +13,6 @@ ios: CloudKit.swiftinterface
1313
tvos: CloudKit.swiftinterface
1414
watchos: CloudKit.swiftinterface
1515

16-
// Missing search path for sourcekitd.framework.
17-
macosx: SwiftLang.swiftinterface
18-
1916
// Needs to be built as Swift 4.2.
2017
ios: UIKit.swiftinterface
2118
tvos: UIKit.swiftinterface

0 commit comments

Comments
 (0)