Browse Source

adds skips for test

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1383 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.1
Xuefer 7 years ago
parent
commit
8cf65a5bcd
3 changed files with 13 additions and 0 deletions
  1. +5
    -0
      tests/skipif.inc
  2. +4
    -0
      tests/xcache_is_autoglobal.phpt
  3. +4
    -0
      tests/xcache_var.phpt

+ 5
- 0
tests/skipif.inc View File

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

+ 4
- 0
tests/xcache_is_autoglobal.phpt View File

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


+ 4
- 0
tests/xcache_var.phpt View File

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


Loading…
Cancel
Save