Added some skipif conditions to handle the case mbstring is enabled but mbregex is disabled.

This commit is contained in:
Moriyoshi Koizumi 2002-11-15 14:26:33 +00:00
parent 55e127a6d5
commit f0a7db1c7e
17 changed files with 17 additions and 1 deletions

View File

@ -2,6 +2,7 @@
mb_ereg() compat test 1
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg') or die("SKIP mb_ereg() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/004.phpt) */

View File

@ -2,6 +2,7 @@
mb_ereg() compat test 2
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg') or die("SKIP mb_ereg() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/005.phpt) */

View File

@ -2,6 +2,7 @@
mb_ereg_replace() compat test 1
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/001.phpt) */

View File

@ -2,6 +2,7 @@
mb_ereg_replace() compat test 2
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/002.phpt) */

View File

@ -2,6 +2,7 @@
mb_ereg_replace() compat test 3
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/003.phpt) */

View File

@ -2,6 +2,7 @@
mb_ereg_replace() compat test 4
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/006.phpt) */

View File

@ -2,6 +2,7 @@
mb_ereg_replace() compat test 5
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/007.phpt) */

View File

@ -2,6 +2,7 @@
mb_ereg_replace() compat test 6
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/008.phpt) */

View File

@ -2,6 +2,7 @@
mb_ereg_replace() compat test 7
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/010.phpt) */

View File

@ -2,6 +2,7 @@
mb_ereg_replace() compat test 8
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/011.phpt) */

View File

@ -2,6 +2,7 @@
mb_ereg_replace() compat test 9
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/012.phpt) */

View File

@ -2,6 +2,7 @@
mb_ereg_replace() compat test 10
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/013.phpt) */

View File

@ -2,6 +2,7 @@
mb_ereg_replace() compat test 11
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/014.phpt) */

View File

@ -2,6 +2,7 @@
mb_ereg_replace() compat test 12
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/015.phpt) */

View File

@ -2,6 +2,7 @@
mb_ereg_replace() compat test 13
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/016.phpt) */

View File

@ -2,7 +2,7 @@
mb_ereg_replace()
--SKIPIF--
<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
function_exists('mb_ereg_replace') or die("SKIP");
function_exists('mb_ereg_replace') or die("SKIP mb_ereg_replace() is not available in this build");
--FILE--
<?php
mb_regex_set_options( '' );

View File

@ -2,6 +2,7 @@
mb_split() compat test 1
--SKIPIF--
extension_loaded('mbstring') or die('skip');
function_exists('mb_split') or die("SKIP mb_split() is not available in this build");
--FILE--
<?php
/* (counterpart: ext/standard/tests/reg/009.phpt) */