]> granicus.if.org Git - php/commitdiff
Fix tests
authorMoriyoshi Koizumi <moriyoshi@php.net>
Tue, 4 Nov 2003 16:18:21 +0000 (16:18 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Tue, 4 Nov 2003 16:18:21 +0000 (16:18 +0000)
ext/xml/tests/xml001.phpt
ext/xml/tests/xml002.phpt
ext/xml/tests/xml003.phpt

index b7c678eade58f05d41204b2776e00cd4e0752fe5..6ee908e46d8c57d2250d9c44d82776335b4a4f74 100644 (file)
@@ -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--
index 7954c7918e0150fece07cde53c98c82700062fa5..9785002926be5481c8a666bdec685f375f190689 100644 (file)
@@ -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--
index bae4dad5f58bf78585b0cc99a2b26b3ea9a87e18..fa0984e8936b99992e8fcc1fbc794e2896c1ccb9 100644 (file)
@@ -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--