]> granicus.if.org Git - php/commitdiff
Add a redirect test to run the common pdo core tests against the sqlite
authorWez Furlong <wez@php.net>
Wed, 6 Jul 2005 06:08:53 +0000 (06:08 +0000)
committerWez Furlong <wez@php.net>
Wed, 6 Jul 2005 06:08:53 +0000 (06:08 +0000)
driver

ext/pdo_sqlite/tests/common.phpt [new file with mode: 0644]

diff --git a/ext/pdo_sqlite/tests/common.phpt b/ext/pdo_sqlite/tests/common.phpt
new file mode 100644 (file)
index 0000000..65ea0c9
--- /dev/null
@@ -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'
+       );