From: Ulf Wendel Date: Fri, 12 Oct 2007 11:57:18 +0000 (+0000) Subject: Trying to skip tests if they can't connect to the DB server. X-Git-Tag: RELEASE_1_3_1~852 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8156f160741c0399b9f9d938a1582ed9c19bf89;p=php Trying to skip tests if they can't connect to the DB server. Currently they have failed by default. Note also the environment variable MYSQL_TEST_SKIP_CONNECT_FAILURE to control the default (skip or fail) --- 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