-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update tests to allow multiple -F options #742
Conversation
- Updates tests to allow compile arguments with multiple -F options such as -F <foo> -Xcc -F -Xcc <foo>. This change is required to support spm changes which forward c compiler flags to the swift compiler in more cases.
@swift-ci please test |
@@ -609,6 +609,7 @@ private func checkNot( | |||
private func check( | |||
_ pattern: String..., | |||
arguments: [String], | |||
once: Bool = true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would call this allowMultiple
. Seems clearer to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, easy change!
@swift-ci please test |
@swift-ci please test |
@swift-ci Please test Windows |
3 similar comments
@swift-ci Please test Windows |
@swift-ci Please test Windows |
@swift-ci Please test Windows |
- Updates tests to allow compile arguments with multiple -F options such as -F <foo> -Xcc -F -Xcc <foo>. This change is required to support spm changes which forward c compiler flags to the swift compiler in more cases.
Cherry-pick of #742 required to unblock swiftlang/swift-package-manager#6709. Updates tests to allow compile arguments with multiple `-F` options such as `-F <foo> -Xcc -F -Xcc <foo>`. This change is required to support SwiftPM changes which forward C compiler flags to the Swift compiler in more cases. Co-authored-by: Rauhul Varma <rauhul@users.noreply.github.com>
Updates tests to allow compile arguments with multiple
-F
options such as-F <foo> -Xcc -F -Xcc <foo>
. This change is required to support SwiftPM changes which forward C compiler flags to the swift compiler in more cases.