diff options
Diffstat (limited to 'ext/pdo/tests/pdo_013.phpt')
-rw-r--r-- | ext/pdo/tests/pdo_013.phpt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/pdo/tests/pdo_013.phpt b/ext/pdo/tests/pdo_013.phpt index eb420e69bc..db654b0f0f 100644 --- a/ext/pdo/tests/pdo_013.phpt +++ b/ext/pdo/tests/pdo_013.phpt @@ -3,7 +3,11 @@ PDO Common: PDOStatement iterator --SKIPIF-- <?php # vim:ft=php if (!extension_loaded('pdo')) print 'skip'; -if (false == getenv('REDIR_TEST_DIR')) print 'skip no driver'; ?> +$dir = getenv('REDIR_TEST_DIR'); +if (false == $dir) print 'skip no driver'; +require_once $dir . 'pdo_test.inc'; +PDOTest::skip(); +?> --FILE-- <?php require getenv('REDIR_TEST_DIR') . 'pdo_test.inc'; |