mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Add SKIPIFs for upstream regression in libxslt (#14674)
See https://gitlab.gnome.org/GNOME/libxslt/-/issues/113
This commit is contained in:
parent
a9acc29a37
commit
5a32b510ef
2 changed files with 6 additions and 0 deletions
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;
|
$proc = new xsltprocessor;
|
||||||
if (!$proc->hasExsltSupport()) die('skip EXSLT support not available');
|
if (!$proc->hasExsltSupport()) die('skip EXSLT support not available');
|
||||||
if (LIBXSLT_VERSION < 10130) die('skip too old libxsl');
|
if (LIBXSLT_VERSION < 10130) die('skip too old libxsl');
|
||||||
|
require __DIR__.'/skip_upstream_issue113.inc';
|
||||||
?>
|
?>
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue