From fb4967900dc0b604c537e098a41b20dcaeba991f Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Thu, 9 Aug 2007 11:53:17 +0000 Subject: Same as for ext/mysqli tests: addition of a new environment variable MYSQL_TEST_SKIP_CONNECT_FAILURE which controls how to deal with connection problems. If MYSQL_TEST_SKIP_CONNECT_FAILURE = false (default) connection problems will make a test fail. If you set MYSQL_TEST_SKIP_CONNECT_FAILURE to any value that evaluates to true in PHP, a test which cannot connect to the database will be skipped. --- ext/mysql/tests/mysql_ping.phpt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/mysql/tests/mysql_ping.phpt') diff --git a/ext/mysql/tests/mysql_ping.phpt b/ext/mysql/tests/mysql_ping.phpt index f9162ebf24..2e4130e33f 100644 --- a/ext/mysql/tests/mysql_ping.phpt +++ b/ext/mysql/tests/mysql_ping.phpt @@ -1,7 +1,10 @@ --TEST-- mysql_ping() --SKIPIF-- - + --FILE--