]> granicus.if.org Git - php/commitdiff
Removed skipif.php + Fixed tests to use skipif.inc instead.
authorfoobar <sniper@php.net>
Tue, 20 Mar 2001 01:22:07 +0000 (01:22 +0000)
committerfoobar <sniper@php.net>
Tue, 20 Mar 2001 01:22:07 +0000 (01:22 +0000)
ext/xml/tests/004.phpt
ext/xml/tests/006.phpt
ext/xml/tests/skipif.php [deleted file]

index fc07b2340759d46f813495269fdc9ef71b5b148f..5788fcac3796d21ea53267ef71148022c18a9053 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 XML parser case folding test
 --SKIPIF--
-<?php include("skipif.php"); ?>
+<?php include("skipif.inc"); ?>
 --FILE--
 <?php
 $xp = xml_parser_create();
index 80c1842fadc79fd9f09848611d7f91e3a04b957c..a1b339f0e0250059d2a3294db873378ecb857d8b 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 UTF-8<->ISO Latin 1 encoding/decoding test
 --SKIPIF--
-<?php include("skipif.php"); ?>
+<?php include("skipif.inc"); ?>
 --FILE--
 <?php
 printf("%s -> %s\n", urlencode("æ"), urlencode(utf8_encode("æ")));
diff --git a/ext/xml/tests/skipif.php b/ext/xml/tests/skipif.php
deleted file mode 100644 (file)
index 1c33251..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-if (!extension_loaded("xml")) {
-  $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
-  @dl("xml$dlext");
-}
-if (!extension_loaded("xml")) {
-  print "skip\n";
-}
-?>