From: Ulf Wendel Date: Fri, 12 Oct 2007 12:32:39 +0000 (+0000) Subject: Same as for PHP_5_3: Trying to skip tests if they can't connect to the X-Git-Tag: RELEASE_2_0_0a1~1597 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ea4b6ba061af72e2b0457cdcd8f1b6652a1787f;p=php 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. --- diff --git a/ext/mysql/tests/002.phpt b/ext/mysql/tests/002.phpt index 3c628c4116..9c1250104d 100755 --- a/ext/mysql/tests/002.phpt +++ b/ext/mysql/tests/002.phpt @@ -1,7 +1,10 @@ --TEST-- mysql_fetch_array --SKIPIF-- - + --FILE-- + --FILE-- + --FILE-- + --FILE-- + --FILE-- + --FILE-- + --FILE-- + --FILE-- + --FILE-- + --FILE-- + --FILE-- + --INI-- mysql.trace_mode=1 error_reporting=E_ALL | E_NOTICE | E_STRICT diff --git a/ext/mysql/tests/skipifconnectfailure.inc b/ext/mysql/tests/skipifconnectfailure.inc index 2fe4090daf..e586a33f3b 100755 --- a/ext/mysql/tests/skipifconnectfailure.inc +++ b/ext/mysql/tests/skipifconnectfailure.inc @@ -1,17 +1,17 @@ \ No newline at end of file