diff options
Diffstat (limited to 'ext/pdo_mysql/tests')
-rw-r--r-- | ext/pdo_mysql/tests/common.phpt | 2 | ||||
-rw-r--r-- | ext/pdo_mysql/tests/pdo_mysql_stmt_getcolumnmeta.phpt | 2 | ||||
-rw-r--r-- | ext/pdo_mysql/tests/pecl_bug_5780.phpt | 2 | ||||
-rw-r--r-- | ext/pdo_mysql/tests/pecl_bug_5802.phpt | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/ext/pdo_mysql/tests/common.phpt b/ext/pdo_mysql/tests/common.phpt index f55d1f883b..0d002546e0 100644 --- a/ext/pdo_mysql/tests/common.phpt +++ b/ext/pdo_mysql/tests/common.phpt @@ -1,7 +1,7 @@ --TEST-- MySQL --SKIPIF-- -<?php # vim:ft=php +<?php if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) print 'skip not loaded'; ?> --REDIRECTTEST-- diff --git a/ext/pdo_mysql/tests/pdo_mysql_stmt_getcolumnmeta.phpt b/ext/pdo_mysql/tests/pdo_mysql_stmt_getcolumnmeta.phpt index 82806ce479..10ccba2291 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_stmt_getcolumnmeta.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_stmt_getcolumnmeta.phpt @@ -1,7 +1,7 @@ --TEST-- MySQL: PDOStatement->getColumnMeta() --SKIPIF-- -<?php # vim:ft=php +<?php require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'skipif.inc'); require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc'); MySQLPDOTest::skip(); diff --git a/ext/pdo_mysql/tests/pecl_bug_5780.phpt b/ext/pdo_mysql/tests/pecl_bug_5780.phpt index 9ae279eaba..95c82d7603 100644 --- a/ext/pdo_mysql/tests/pecl_bug_5780.phpt +++ b/ext/pdo_mysql/tests/pecl_bug_5780.phpt @@ -1,7 +1,7 @@ --TEST-- PDO MySQL PECL Bug #5780 (Failure to produce an error when one is expected) --SKIPIF-- -<?php # vim:ft=php: +<?php if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip not loaded'); require dirname(__FILE__) . '/config.inc'; require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc'; diff --git a/ext/pdo_mysql/tests/pecl_bug_5802.phpt b/ext/pdo_mysql/tests/pecl_bug_5802.phpt index b7cbf78ee7..1eec07fa04 100644 --- a/ext/pdo_mysql/tests/pecl_bug_5802.phpt +++ b/ext/pdo_mysql/tests/pecl_bug_5802.phpt @@ -1,7 +1,7 @@ --TEST-- PDO MySQL PECL Bug #5802 (bindParam/bindValue retain the is_null flag) --SKIPIF-- -<?php # vim:ft=php: +<?php if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip not loaded'); require dirname(__FILE__) . '/config.inc'; require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc'; |