Skip to content

[Test] Fix swift_swift_parser feature and use in tests #64089

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 1 commit into from
Apr 3, 2023

Conversation

bnbarham
Copy link
Contributor

@bnbarham bnbarham commented Mar 4, 2023

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.

@bnbarham
Copy link
Contributor Author

bnbarham commented Mar 4, 2023

@swift-ci please test

Copy link
Member

@etcwilde etcwilde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks

@bnbarham bnbarham force-pushed the add-swift-swift-parser-feature branch 2 times, most recently from b268a81 to e23abf0 Compare March 6, 2023 18:12
@bnbarham
Copy link
Contributor Author

bnbarham commented Mar 6, 2023

@swift-ci please test

@bnbarham bnbarham force-pushed the add-swift-swift-parser-feature branch from e23abf0 to 5733fe7 Compare March 7, 2023 02:03
@bnbarham
Copy link
Contributor Author

bnbarham commented Mar 7, 2023

@swift-ci please test

@bnbarham bnbarham force-pushed the add-swift-swift-parser-feature branch from 5733fe7 to f096297 Compare March 31, 2023 22:30
@bnbarham bnbarham changed the title [Test] Add a swift_swift_parser feature to lit.cfg and use in tests [Test] Fix swift_swift_parser feature and use in tests Mar 31, 2023
@bnbarham bnbarham force-pushed the add-swift-swift-parser-feature branch from f096297 to 0f2784e Compare March 31, 2023 22:31
@bnbarham
Copy link
Contributor Author

@swift-ci please test

@bnbarham bnbarham force-pushed the add-swift-swift-parser-feature branch from 0f2784e to 3292616 Compare April 1, 2023 00:02
@bnbarham
Copy link
Contributor Author

bnbarham commented Apr 1, 2023

@swift-ci please test

@bnbarham bnbarham force-pushed the add-swift-swift-parser-feature branch from 3292616 to c0642a5 Compare April 2, 2023 19:10
@bnbarham
Copy link
Contributor Author

bnbarham commented Apr 2, 2023

@swift-ci please test

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.
@bnbarham bnbarham force-pushed the add-swift-swift-parser-feature branch from c0642a5 to e5a28ca Compare April 3, 2023 16:25
@bnbarham
Copy link
Contributor Author

bnbarham commented Apr 3, 2023

@swift-ci please test and merge

@swift-ci swift-ci merged commit 224b4a5 into swiftlang:main Apr 3, 2023
@bnbarham bnbarham deleted the add-swift-swift-parser-feature branch April 3, 2023 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants