From: foobar Date: Thu, 11 Aug 2005 23:45:13 +0000 (+0000) Subject: fix skip conditions X-Git-Tag: PRE_NEW_OCI8_EXTENSION~335 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3eaa48b58f2dad6476c3c2fd5cef8cc9850873a1;p=php fix skip conditions --- diff --git a/ext/pdo_mysql/tests/bug_33689.phpt b/ext/pdo_mysql/tests/bug_33689.phpt index 5d584a36f9..6df6569564 100644 --- a/ext/pdo_mysql/tests/bug_33689.phpt +++ b/ext/pdo_mysql/tests/bug_33689.phpt @@ -1,8 +1,11 @@ --TEST-- PDO MySQL Bug #33689 --SKIPIF-- - --FILE-- +if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) print 'skip not loaded'; +?> --REDIRECTTEST-- # magic auto-configuration diff --git a/ext/pdo_mysql/tests/config.inc b/ext/pdo_mysql/tests/config.inc new file mode 100644 index 0000000000..855f89bc1e --- /dev/null +++ b/ext/pdo_mysql/tests/config.inc @@ -0,0 +1,19 @@ + $v) { + putenv("$k=$v"); +} diff --git a/ext/pdo_mysql/tests/show_tables.phpt b/ext/pdo_mysql/tests/show_tables.phpt index 8919b6b778..dc95d5f5f7 100644 --- a/ext/pdo_mysql/tests/show_tables.phpt +++ b/ext/pdo_mysql/tests/show_tables.phpt @@ -1,8 +1,11 @@ --TEST-- PDO MySQL SHOW TABLES --SKIPIF-- - --FILE--