com php-src: test fails with old libxml2; skip in this case: ext/dom/tests/node_textcontent.phpt

From: Date: Fri, 31 Jul 2015 17:52:42 +0000
Subject: com php-src: test fails with old libxml2; skip in this case: ext/dom/tests/node_textcontent.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-88259@lists.php.net to get a copy of this message
Commit: 6576d809a547b481fecfa8afff1d2ee519a85057 Author: Christoph M. Becker <cmb@php.net> Fri, 31 Jul 2015 19:52:42 +0200 Parents: cdabbd9542a41bb2a1ce3b1d85b88003e0a1a19c Branches: PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6576d809a547b481fecfa8afff1d2ee519a85057 Log: test fails with old libxml2; skip in this case Changed paths: M ext/dom/tests/node_textcontent.phpt Diff: diff --git a/ext/dom/tests/node_textcontent.phpt b/ext/dom/tests/node_textcontent.phpt index a731a26..e469691 100644 --- a/ext/dom/tests/node_textcontent.phpt +++ b/ext/dom/tests/node_textcontent..phpt @@ -1,7 +1,10 @@ --TEST-- Testing reading and writing to DOMNode::textContent --SKIPIF-- -<?php require_once('skipif.inc'); ?> +<?php +require_once('skipif.inc'); +if (LIBXML_VERSION < 20707) die ('skip requires libxml2-2.7.7 or higher'); +?> --FILE-- <?php

« previous php.cvs (#88259) next »