Skip to content

Adapt tests for libxml2 >= 2.13.0 #16536

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
wants to merge 2 commits into from
Closed

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Oct 21, 2024

libxml2 2.13.0 introduced some relevant changes regarding the treatment of file paths on Windows[1]. Thus we un-xfail bug69753.phpt and its companion, and we adjust dom004.phpt.

[1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/8ab1b122c47bfced2b59f52351507ebc1eb50218


I've tested locally against libxml2 2.13.4, and found no other issues for the seven test suites relevant for libxml.

I've targeted PHP-8.4 since I consider it somewhat unlikely that we're going to update stable branches to libxml2 2.13. Can rebase, though, if desired.

@nielsdos, I think https://gitlab.gnome.org/GNOME/libxml2/-/issues/611 is sufficiently fixed.

Not sure if we should update af2b066, since it's a pretty cheap comparison.

libxml2 2.13.0 introduced some relevant changes regarding the treatment
of file paths on Windows[1].  Thus we un-xfail bug69753.phpt and its
companion, and we adjust dom004.phpt.

[1] <https://gitlab.gnome.org/GNOME/libxml2/-/commit/8ab1b122c47bfced2b59f52351507ebc1eb50218>
Copy link
Member

@nielsdos nielsdos left a comment

Choose a reason for hiding this comment

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

Tested locally on a Windows VM, looks good. Thanks for keeping track of this and making the change!

@nielsdos
Copy link
Member

Not sure if we should update af2b066, since it's a pretty cheap comparison.

Perhaps so, that way we know by reading the code that the issue is fixed, and when we ever bump the requirement we can get rid of this cruft in the far future.

@cmb69
Copy link
Member Author

cmb69 commented Oct 21, 2024

Perhaps so, that way we know by reading the code that the issue is fixed, and when we ever bump the requirement we can get rid of this cruft in the far future.

Makes sense. I've pushed a respective commit.

Copy link
Member

@nielsdos nielsdos left a comment

Choose a reason for hiding this comment

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

Thank you!
This works locally, but wait for green CI before merging :)

@cmb69 cmb69 closed this in 30dd291 Oct 21, 2024
@cmb69 cmb69 deleted the cmb/libxml-2.13 branch October 21, 2024 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants