Skip to content

Hide xfail/xleak test summary #17109

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

Closed

Conversation

iluuu1994
Copy link
Member

We don't show succeeding tests in the summary, and for all intents and purposes, these tests have succeeded, in that they behave as expected. I've seen the output confuse people on multiple occasions, for example GH-17105.

We don't show succeeding tests in the summary, and for all intents and purposes,
these tests have succeeded, in that they behave as expected. I've seen the
output confuse people on multiple occasions, for example phpGH-17105.
@iluuu1994 iluuu1994 requested a review from cmb69 December 10, 2024 13:27
@Girgias
Copy link
Member

Girgias commented Dec 10, 2024

I think we still want a flag to be able to display them in CI/local dev?

@iluuu1994
Copy link
Member Author

@Girgias You can pretty much already achieve that with -g XFAIL,XLEAK, the summary is somewhat redundant.

@Girgias
Copy link
Member

Girgias commented Dec 10, 2024

Forgot about -g

Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

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

Not sure if it is a good idea to brush that under the carpet. The whole point of XFAIL is that we want to see whether the issue is fixed at some point in time, and until it is not, to be reminded of and have documentation about limitations. Similar as we don't auto-close (very) old bug reports.

@iluuu1994
Copy link
Member Author

iluuu1994 commented Dec 10, 2024

The whole point of XFAIL is that we want to see whether the issue is fixed at some point in time

Precisely. Once they do, they will show up as warnings. But as long as they still fail, they just add noise.

and until it is not, to be reminded of and have documentation about limitations.

Ok, but that can also be achieved by searching for XFAIL in tests, we don't need to be reminded of the same tests in every run IMO.

@cmb69
Copy link
Member

cmb69 commented Dec 10, 2024

Well, in a perfect world we wouldn't have this discussion, but instead fix the XFAIL reasons. However, this is not a perfect world, so it's okay for me to remove the expected fail summary.

@iluuu1994
Copy link
Member Author

I'm somewhat skeptical whether PHP would exist in a perfect world 😄

@iluuu1994 iluuu1994 closed this in e7af08d Dec 12, 2024
charmitro pushed a commit to wasix-org/php that referenced this pull request Mar 13, 2025
We don't show succeeding tests in the summary, and for all intents and purposes,
these tests have succeeded, in that they behave as expected. I've seen the
output confuse people on multiple occasions, for example phpGH-17105.

Closes phpGH-17109
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.

3 participants