Skip to content

Add SKIPIFs for upstream regression in libxslt #14674

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
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ext/xsl/tests/auto_registration_namespaces_new_dom.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ Auto-registration of namespaces in XSL stylesheet with new DOM
--EXTENSIONS--
dom
xsl
--SKIPIF--
<?php
require __DIR__.'/skip_upstream_issue113.inc';
?>
--FILE--
<?php

Expand Down
4 changes: 4 additions & 0 deletions ext/xsl/tests/registerPHPFunctionNS.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
registerPHPFunctionNS() function - legit cases
--EXTENSIONS--
xsl
--SKIPIF--
<?php
require __DIR__.'/skip_upstream_issue113.inc';
?>
--FILE--
<?php

Expand Down
5 changes: 5 additions & 0 deletions ext/xsl/tests/skip_upstream_issue113.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
if ((LIBXSLT_VERSION === 10140 || LIBXSLT_VERSION === 10141)
&& LIBXML_VERSION < 21300) {
die('skip upstream regression https://gitlab.gnome.org/GNOME/libxslt/-/issues/113');
}
1 change: 1 addition & 0 deletions ext/xsl/tests/xslt010_gt10129.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ xsl
$proc = new xsltprocessor;
if (!$proc->hasExsltSupport()) die('skip EXSLT support not available');
if (LIBXSLT_VERSION < 10130) die('skip too old libxsl');
require __DIR__.'/skip_upstream_issue113.inc';
?>
--FILE--
<?php
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ xsl
$proc = new xsltprocessor;
if (!$proc->hasExsltSupport()) die('skip EXSLT support not available');
if (LIBXSLT_VERSION < 10130) die('skip too old libxsl');
require __DIR__.'/skip_upstream_issue113.inc';
?>
--FILE--
<?php
Expand Down
Loading