Skip to content

[5.9][Test] Fix swift_swift_parser feature and use in tests #64873

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

Merged
merged 2 commits into from
Apr 4, 2023

Conversation

bnbarham
Copy link
Contributor

@bnbarham bnbarham commented Apr 3, 2023

  • Explanation: Various test updates to properly use swift_swift_parser rather than OS=macosx. This is required so that these tests run on other platforms once they also have host compilers.
  • Scope: Tests
  • Risk: Extremely low, this only updates tests
  • Original PR: [Test] Fix swift_swift_parser feature and use in tests #64089

The macro tests were all using "REQUIRES: OS=macosx" as a proxy for
"have the Swift Swift parser". There was an existing feature for this,
but it was just checking whether the path was passed through. Fix that
to use the same variable as in CMake.

Also remove all extraneous `-I` and `-L` to the host libs in the target
invocations.

(cherry picked from commit e5a28ca)
@bnbarham bnbarham requested a review from a team as a code owner April 3, 2023 19:08
rdar://107591637
(cherry picked from commit f56eb8e)
@bnbarham bnbarham force-pushed the cherry-swift-swift-parser branch from d12bffc to e72735b Compare April 4, 2023 03:37
@bnbarham
Copy link
Contributor Author

bnbarham commented Apr 4, 2023

@swift-ci please test

@rxwei
Copy link
Contributor

rxwei commented Apr 4, 2023

@swift-ci please test

@rintaro rintaro merged commit fbe6805 into swiftlang:release/5.9 Apr 4, 2023
@bnbarham bnbarham deleted the cherry-swift-swift-parser branch April 4, 2023 21:25
@AnthonyLatsis AnthonyLatsis added the 🍒 release cherry pick Flag: Release branch cherry picks label May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants