Skip to content

Commit 6c0e835

Browse files
committed
Add SKIPIFs for upstream regression in libxslt
See https://gitlab.gnome.org/GNOME/libxslt/-/issues/113
1 parent 8946099 commit 6c0e835

5 files changed

+15
-0
lines changed

ext/xsl/tests/auto_registration_namespaces_new_dom.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ Auto-registration of namespaces in XSL stylesheet with new DOM
33
--EXTENSIONS--
44
dom
55
xsl
6+
--SKIPIF--
7+
<?php
8+
require __DIR__.'/skip_upstream_issue113.inc';
9+
?>
610
--FILE--
711
<?php
812

ext/xsl/tests/registerPHPFunctionNS.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
registerPHPFunctionNS() function - legit cases
33
--EXTENSIONS--
44
xsl
5+
--SKIPIF--
6+
<?php
7+
require __DIR__.'/skip_upstream_issue113.inc';
8+
?>
59
--FILE--
610
<?php
711

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
if ((LIBXSLT_VERSION === 10140 || LIBXSLT_VERSION === 10141)
3+
&& LIBXML_VERSION < 21300) {
4+
die('skip upstream regression https://gitlab.gnome.org/GNOME/libxslt/-/issues/113');
5+
}

ext/xsl/tests/xslt010_gt10129.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ xsl
77
$proc = new xsltprocessor;
88
if (!$proc->hasExsltSupport()) die('skip EXSLT support not available');
99
if (LIBXSLT_VERSION < 10130) die('skip too old libxsl');
10+
require __DIR__.'/skip_upstream_issue113.inc';
1011
?>
1112
--FILE--
1213
<?php

ext/xsl/tests/xsltprocessor_exsl_registerPhpFunctionNs.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ xsl
77
$proc = new xsltprocessor;
88
if (!$proc->hasExsltSupport()) die('skip EXSLT support not available');
99
if (LIBXSLT_VERSION < 10130) die('skip too old libxsl');
10+
require __DIR__.'/skip_upstream_issue113.inc';
1011
?>
1112
--FILE--
1213
<?php

0 commit comments

Comments
 (0)