Skip to content

Validate optimizations when a match fails #559

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
Jul 7, 2022

Conversation

hamishknight
Copy link
Contributor

This allows us to catch the case where a match occurs without optimizations, but doesn't occur with optimizations. Additionally fix the xfail param such that it can't be used on tests that actually match expectations.

This allows us to catch the case where a match
occurs without optimizations, but doesn't occur
with optimizations. Additionally fix the `xfail`
param such that it can't be used on tests that
actually match expectations.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight hamishknight requested a review from rctcwyvrn July 7, 2022 10:50
Copy link
Contributor

@rctcwyvrn rctcwyvrn left a comment

Choose a reason for hiding this comment

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

I ran into this same issue while working on #525 and ended up implementing a similar change https://github.com/apple/swift-experimental-string-processing/pull/525/files#diff-9420a6ee27325155caaa6f4ae0692789b51ae1066736319212df0fcc52c67dbf

Yours covers more cases and fixes the xfail thing so I'm fine with taking your changes over mine

@hamishknight hamishknight merged commit 33856e7 into swiftlang:main Jul 7, 2022
@hamishknight hamishknight deleted the validate-test branch July 7, 2022 16:46
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.

2 participants