diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-11-04 16:18:21 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-11-04 16:18:21 +0000 |
commit | 668e8a87e6a1411a1f05e8b856c78a8de531d2dc (patch) | |
tree | c1e2625949952dddc65b0db547ee264f731c9d1d /ext/xml | |
parent | f0725828f055d41a30515725ceb283a5c2e1b893 (diff) | |
download | php-git-668e8a87e6a1411a1f05e8b856c78a8de531d2dc.tar.gz |
Fix tests
Diffstat (limited to 'ext/xml')
-rw-r--r-- | ext/xml/tests/xml001.phpt | 5 | ||||
-rw-r--r-- | ext/xml/tests/xml002.phpt | 5 | ||||
-rw-r--r-- | ext/xml/tests/xml003.phpt | 5 |
3 files changed, 12 insertions, 3 deletions
diff --git a/ext/xml/tests/xml001.phpt b/ext/xml/tests/xml001.phpt index b7c678eade..6ee908e46d 100644 --- a/ext/xml/tests/xml001.phpt +++ b/ext/xml/tests/xml001.phpt @@ -1,7 +1,10 @@ --TEST-- XML parser test, function callbacks --SKIPIF-- -<?php include("skipif.inc"); ?> +<?php +require_once("skipif.inc"); +XML_SAX_IMPL == 'libxml' && die('skip this test is not intended for libxml SAX parser'); +?> --INI-- magic_quotes_runtime=0 --FILE-- diff --git a/ext/xml/tests/xml002.phpt b/ext/xml/tests/xml002.phpt index 7954c7918e..9785002926 100644 --- a/ext/xml/tests/xml002.phpt +++ b/ext/xml/tests/xml002.phpt @@ -1,7 +1,10 @@ --TEST-- XML parser test, object tuple callbacks --SKIPIF-- -<?php include("skipif.inc"); ?> +<?php +require_once("skipif.inc"); +XML_SAX_IMPL == 'libxml' && die('skip this test is not intended for libxml SAX parser'); +?> --INI-- magic_quotes_runtime=0 --FILE-- diff --git a/ext/xml/tests/xml003.phpt b/ext/xml/tests/xml003.phpt index bae4dad5f5..fa0984e893 100644 --- a/ext/xml/tests/xml003.phpt +++ b/ext/xml/tests/xml003.phpt @@ -1,7 +1,10 @@ --TEST-- XML parser test, xml_set_object callbacks --SKIPIF-- -<?php include("skipif.inc"); ?> +<?php +require_once("skipif.inc"); +XML_SAX_IMPL == 'libxml' && die('skip this test is not intended for libxml SAX parser'); +?> --INI-- magic_quotes_runtime=0 --FILE-- |