diff options
author | Christian Stocker <chregu@php.net> | 2004-02-23 16:01:15 +0000 |
---|---|---|
committer | Christian Stocker <chregu@php.net> | 2004-02-23 16:01:15 +0000 |
commit | 9e6de31645baaa879ebc2c3c43b99f50497ab016 (patch) | |
tree | ff032ee306fe9f57b0e029fd47f568c39a108404 /ext/xml | |
parent | a3b1085f064d27eccd11ccdac08e9669bff28753 (diff) | |
download | php-git-9e6de31645baaa879ebc2c3c43b99f50497ab016.tar.gz |
skip tests, if xml_parser_create_ns is not supported.
Diffstat (limited to 'ext/xml')
-rw-r--r-- | ext/xml/tests/bug25666.phpt | 4 | ||||
-rw-r--r-- | ext/xml/tests/xml009.phpt | 4 | ||||
-rw-r--r-- | ext/xml/tests/xml010.phpt | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/ext/xml/tests/bug25666.phpt b/ext/xml/tests/bug25666.phpt index 5e95b31b17..119f55e4ea 100644 --- a/ext/xml/tests/bug25666.phpt +++ b/ext/xml/tests/bug25666.phpt @@ -1,5 +1,9 @@ --TEST-- Bug #25666 (XML namespaces broken in libxml-based SAX interface) +--SKIPIF-- +<?php +if (!xml_parser_create_ns('ISO-8859-1')) { die("skip xml_parser_create_ns is not supported on this plattform");}; +?> --FILE-- <?php function start_elem($parser,$name,$attribs) { diff --git a/ext/xml/tests/xml009.phpt b/ext/xml/tests/xml009.phpt index 76355dec48..9e297925d6 100644 --- a/ext/xml/tests/xml009.phpt +++ b/ext/xml/tests/xml009.phpt @@ -1,5 +1,9 @@ --TEST-- XML parser test, default namespaces +--SKIPIF-- +<?php +if (!xml_parser_create_ns('ISO-8859-1')) { die("skip xml_parser_create_ns is not supported on this plattform");}; +?> --FILE-- <?php function start_elem($parser,$name,$attribs) { diff --git a/ext/xml/tests/xml010.phpt b/ext/xml/tests/xml010.phpt index 962aad35a7..795c455e40 100644 --- a/ext/xml/tests/xml010.phpt +++ b/ext/xml/tests/xml010.phpt @@ -1,5 +1,9 @@ --TEST-- XML parser test, attributes +--SKIPIF-- +<?php +if (!xml_parser_create_ns('ISO-8859-1')) { die("skip xml_parser_create_ns is not supported on this plattform");}; +?> --FILE-- <?php function start_elem($parser,$name,$attribs) { |