com php-src: fix test redirection when run not from source root: ext/pdo_pgsql/tests/common.phpt ext/pdo_sqlite/tests/co mmon.phpt

From: Date: Fri, 23 Oct 2015 07:42:19 +0000
Subject: com php-src: fix test redirection when run not from source root: ext/pdo_pgsql/tests/common.phpt ext/pdo_sqlite/tests/co mmon.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-89490@lists.php.net to get a copy of this message
Commit: 5ba763413b8f1e0e2399f124641845cf782ce0f5 Author: Anatol Belski <ab@php.net> Tue, 20 Oct 2015 11:44:12 +0200 Parents: 95446b441620a1c563249b1c0177b95cf8b32439 Branches: PHP-7.0 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5ba763413b8f1e0e2399f124641845cf782ce0f5 Log: fix test redirection when run not from source root Changed paths: M ext/pdo_pgsql/tests/common.phpt M ext/pdo_sqlite/tests/common.phpt Diff: diff --git a/ext/pdo_pgsql/tests/common.phpt b/ext/pdo_pgsql/tests/common.phpt index 8a21371..e764b39 100644 --- a/ext/pdo_pgsql/tests/common.phpt +++ b/ext/pdo_pgsql/tests/common.phpt @@ -8,7 +8,7 @@ if (!extension_loaded('pdo_pgsql')) print 'skip'; ?> # Also update config.inc if you make changes here... $config = array( - 'TESTS' => 'ext/pdo/tests' + 'TESTS' => __DIR__ . '/ext/pdo/tests' ); if (false !== getenv('PDO_PGSQL_TEST_DSN')) { diff --git a/ext/pdo_sqlite/tests/common.phpt b/ext/pdo_sqlite/tests/common.phpt index 65ea0c9..da28d91 100644 --- a/ext/pdo_sqlite/tests/common.phpt +++ b/ext/pdo_sqlite/tests/common.phpt @@ -8,5 +8,5 @@ return array( 'ENV' => array( 'PDOTEST_DSN' => 'sqlite::memory:' ), - 'TESTS' => 'ext/pdo/tests' + 'TESTS' => __DIR__ . '/ext/pdo/tests' );

« previous php.cvs (#89490) next »