skip test if json not enabled (or build as shared and so not loaded during make test)

This commit is contained in:
Remi Collet
2013-10-24 08:22:57 +02:00
parent 561f632f62
commit 10b0cf59cd

View File

@@ -1,7 +1,10 @@
--TEST--
Bug #65097 (nApplyCount release missing)
--SKIPIF--
<?php if (!extension_loaded("lua")) print "skip"; ?>
<?php
if (!extension_loaded("lua")) print "skip lua extension missing";
if (!extension_loaded("json")) print "skip json extension missing";
?>
--INI--
error_reporting=E_ALL&~E_STRICT
--FILE--