cvs: php-src /ext/pdo_pgsql/tests common.phpt

From: Date: Thu, 07 Jul 2005 15:20:06 +0000
Subject: cvs: php-src /ext/pdo_pgsql/tests common.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-32763@lists.php.net to get a copy of this message
wez Thu Jul 7 11:20:06 2005 EDT Added files: /php-src/ext/pdo_pgsql/tests common.phpt Log: adopt new tests http://cvs.php.net/co.php/php-src/ext/pdo_pgsql/tests/common.phpt?r=1.1&p=1 Index: php-src/ext/pdo_pgsql/tests/common.phpt +++ php-src/ext/pdo_pgsql/tests/common.phpt --TEST-- Postgres --SKIPIF-- <?php # vim:ft=php if (!extension_loaded('pdo_pgsql')) print 'skip'; ?> --REDIRECTTEST-- # magic auto-configuration $config = array( 'TESTS' => 'ext/pdo/tests' ); if (false !== getenv('PDO_PGSQL_TEST_DSN')) { # user set them from their shell $config['ENV']['PDOTEST_DSN'] = getenv('PDO_PGSQL_TEST_DSN'); if (false !== getenv('PDO_PGSQL_TEST_ATTR')) { $config['ENV']['PDOTEST_ATTR'] = getenv('PDO_PGSQL_TEST_ATTR'); } } else { $config['ENV']['PDOTEST_DSN'] = 'pgsql:host=localhost port=5432 dbname=test user=root password='; } return $config;

« previous php.cvs (#32763) next »