tests look for skipif.inc, so add it

This commit is contained in:
Stanislav Malyshev 2000-09-03 09:11:25 +00:00
parent 436ca5d9bb
commit a6aef18606

9
ext/xml/tests/skipif.inc Normal file
View File

@ -0,0 +1,9 @@
<?php
if (!extension_loaded("xml")) {
$dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
@dl("xml$dlext");
}
if (!extension_loaded("xml")) {
print "skip\n";
}
?>