summaryrefslogtreecommitdiff
path: root/ext/pdo/tests/pdo_026.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo/tests/pdo_026.phpt')
-rw-r--r--ext/pdo/tests/pdo_026.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/pdo/tests/pdo_026.phpt b/ext/pdo/tests/pdo_026.phpt
index 0c8ba68871..835e82e7eb 100644
--- a/ext/pdo/tests/pdo_026.phpt
+++ b/ext/pdo/tests/pdo_026.phpt
@@ -3,7 +3,10 @@ PDO Common: extending PDO (2)
--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