diff options
author | Ulf Wendel <uw@php.net> | 2007-10-12 12:32:39 +0000 |
---|---|---|
committer | Ulf Wendel <uw@php.net> | 2007-10-12 12:32:39 +0000 |
commit | 2ea4b6ba061af72e2b0457cdcd8f1b6652a1787f (patch) | |
tree | d2b90c9c685e2822748b4aa65b04ce8ec2da37c3 /ext/mysql/tests/mysql_client_encoding.phpt | |
parent | 7db84d5bcf741e47855f332bf4b339865300e0fe (diff) | |
download | php-git-2ea4b6ba061af72e2b0457cdcd8f1b6652a1787f.tar.gz |
Same as for PHP_5_3: Trying to skip tests if they can't connect to the
DB server. Note the environment variable MYSQL_TEST_SKIP_CONNECT_FAILURE
to control if you want tests that can't connect to fail or to be skipped.
Diffstat (limited to 'ext/mysql/tests/mysql_client_encoding.phpt')
-rw-r--r-- | ext/mysql/tests/mysql_client_encoding.phpt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/mysql/tests/mysql_client_encoding.phpt b/ext/mysql/tests/mysql_client_encoding.phpt index fe94490d06..399b1e8704 100644 --- a/ext/mysql/tests/mysql_client_encoding.phpt +++ b/ext/mysql/tests/mysql_client_encoding.phpt @@ -1,7 +1,10 @@ --TEST-- mysql_client_encoding() --SKIPIF-- -<?php require_once('skipif.inc'); ?> +<?php +require_once('skipif.inc'); +require_once('skipifconnectfailure.inc'); +?> --FILE-- <?php include_once "connect.inc"; |