mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Add SKIPIFs for upstream regression in libxslt (#14674)
See https://gitlab.gnome.org/GNOME/libxslt/-/issues/113
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
registerPHPFunctionNS() function - legit cases
|
||||
--EXTENSIONS--
|
||||
xsl
|
||||
--SKIPIF--
|
||||
<?php
|
||||
require __DIR__.'/skip_upstream_issue113.inc';
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
||||
5
ext/xsl/tests/skip_upstream_issue113.inc
Normal file
5
ext/xsl/tests/skip_upstream_issue113.inc
Normal file
@@ -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');
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user