1
0
Fork 0

adds skips for test

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1383 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
Xuefer 2013-09-22 16:03:31 +00:00
parent c383d75c51
commit 8cf65a5bcd
3 changed files with 13 additions and 0 deletions

5
tests/skipif.inc Normal file
View File

@ -0,0 +1,5 @@
<?php
if (!extension_loaded("xcache")) {
die("skip xcache extension not loaded");
}
?>

View File

@ -1,5 +1,9 @@
--TEST--
xcache_is_autoglobal
--SKIPIF--
<?php
require("skipif.inc");
?>
--FILE--
<?php
var_dump(xcache_is_autoglobal("GLOBALS"));

View File

@ -1,5 +1,9 @@
--TEST--
xcache_set/get test
--SKIPIF--
<?php
require("skipif.inc");
?>
--FILE--
<?php
var_dump(xcache_isset("a"));