summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-07-06 06:08:53 +0000
committerWez Furlong <wez@php.net>2005-07-06 06:08:53 +0000
commit7b610aba353f25ae930a90b1acba8f7df7d4189e (patch)
treecb8f88f1241c6efab90ba32f7db1d105f9d8cb0a
parent14dbb2dfe9495e07f1e1f57eb640723665750fc0 (diff)
downloadphp-git-7b610aba353f25ae930a90b1acba8f7df7d4189e.tar.gz
Add a redirect test to run the common pdo core tests against the sqlite
driver
-rw-r--r--ext/pdo_sqlite/tests/common.phpt12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/pdo_sqlite/tests/common.phpt b/ext/pdo_sqlite/tests/common.phpt
new file mode 100644
index 0000000000..65ea0c96f4
--- /dev/null
+++ b/ext/pdo_sqlite/tests/common.phpt
@@ -0,0 +1,12 @@
+--TEST--
+SQLite
+--SKIPIF--
+<?php # vim:ft=php
+if (!extension_loaded('pdo_sqlite')) print 'skip'; ?>
+--REDIRECTTEST--
+return array(
+ 'ENV' => array(
+ 'PDOTEST_DSN' => 'sqlite::memory:'
+ ),
+ 'TESTS' => 'ext/pdo/tests'
+ );