summaryrefslogtreecommitdiff
path: root/ext/iconv/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/iconv/tests
parent97200944d237cf10b9753356cbc956b38b2e1ee3 (diff)
downloadphp-git-c92ae847c78ba8b1ceba88755e5aca4412230608.tar.gz
add missing skipif conditions
fix existing ones
Diffstat (limited to 'ext/iconv/tests')
-rw-r--r--ext/iconv/tests/iconv003.phpt2
-rw-r--r--ext/iconv/tests/iconv004.phpt2
-rw-r--r--ext/iconv/tests/iconv_mime_decode_headers.phpt2
3 files changed, 5 insertions, 1 deletions
diff --git a/ext/iconv/tests/iconv003.phpt b/ext/iconv/tests/iconv003.phpt
index 9fcfe4b0cd..9642cf1e79 100644
--- a/ext/iconv/tests/iconv003.phpt
+++ b/ext/iconv/tests/iconv003.phpt
@@ -1,5 +1,7 @@
--TEST--
iconv() test 3
+--SKIPIF--
+<?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?>
--FILE--
<?php
for ($i = 0; $i < 3; ++$i) {
diff --git a/ext/iconv/tests/iconv004.phpt b/ext/iconv/tests/iconv004.phpt
index 0e40ed4fcc..9254f5a129 100644
--- a/ext/iconv/tests/iconv004.phpt
+++ b/ext/iconv/tests/iconv004.phpt
@@ -1,5 +1,7 @@
--TEST--
iconv_mime_encode() sanity cheeck.
+--SKIPIF--
+<?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?>
--FILE--
<?php
var_dump(iconv_mime_encode('', ''));
diff --git a/ext/iconv/tests/iconv_mime_decode_headers.phpt b/ext/iconv/tests/iconv_mime_decode_headers.phpt
index 403d6f8eec..71431f7bce 100644
--- a/ext/iconv/tests/iconv_mime_decode_headers.phpt
+++ b/ext/iconv/tests/iconv_mime_decode_headers.phpt
@@ -1,6 +1,6 @@
--TEST--
iconv_mime_decode_headers()
---SKIP--
+--SKIPIF--
<?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?>
--INI--
iconv.internal_charset=iso-8859-1