summaryrefslogtreecommitdiff
path: root/ext/tokenizer/tests
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2005-12-21 11:42:06 +0000
committerAntony Dovgal <tony2001@php.net>2005-12-21 11:42:06 +0000
commitc92ae847c78ba8b1ceba88755e5aca4412230608 (patch)
tree6d096eefbd5a5341aa8ba2c54295b3aa5e4954e1 /ext/tokenizer/tests
parent97200944d237cf10b9753356cbc956b38b2e1ee3 (diff)
downloadphp-git-c92ae847c78ba8b1ceba88755e5aca4412230608.tar.gz
add missing skipif conditions
fix existing ones
Diffstat (limited to 'ext/tokenizer/tests')
-rw-r--r--ext/tokenizer/tests/001.phpt2
-rw-r--r--ext/tokenizer/tests/002.phpt2
-rw-r--r--ext/tokenizer/tests/003.phpt2
-rw-r--r--ext/tokenizer/tests/bug26463.phpt2
4 files changed, 8 insertions, 0 deletions
diff --git a/ext/tokenizer/tests/001.phpt b/ext/tokenizer/tests/001.phpt
index 8e1df283aa..36ed2696fa 100644
--- a/ext/tokenizer/tests/001.phpt
+++ b/ext/tokenizer/tests/001.phpt
@@ -1,5 +1,7 @@
--TEST--
token_name()
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
--FILE--
<?php
diff --git a/ext/tokenizer/tests/002.phpt b/ext/tokenizer/tests/002.phpt
index 3191b5694f..ce100cc30a 100644
--- a/ext/tokenizer/tests/002.phpt
+++ b/ext/tokenizer/tests/002.phpt
@@ -1,5 +1,7 @@
--TEST--
token_get_all()
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
--FILE--
<?php
diff --git a/ext/tokenizer/tests/003.phpt b/ext/tokenizer/tests/003.phpt
index 90a58f0d30..802728b976 100644
--- a/ext/tokenizer/tests/003.phpt
+++ b/ext/tokenizer/tests/003.phpt
@@ -1,5 +1,7 @@
--TEST--
token_get_all() and wrong parameters
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
--FILE--
<?php
diff --git a/ext/tokenizer/tests/bug26463.phpt b/ext/tokenizer/tests/bug26463.phpt
index 679ffe3c37..8739c2a2b2 100644
--- a/ext/tokenizer/tests/bug26463.phpt
+++ b/ext/tokenizer/tests/bug26463.phpt
@@ -1,5 +1,7 @@
--TEST--
Bug #26463 (token_get_all() does not correctly handle semicolons after T_END_HEREDOC)
+--SKIPIF--
+<?php if (!extension_loaded("tokenizer")) print "skip"; ?>
--FILE--
<?php
$str = '<?php