mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00

This makes the tests independent of each other and allows them to be run in parallel. Co-authored-by: Gina Peter Banyard <girgias@php.net>
9 lines
349 B
PHP
9 lines
349 B
PHP
<?php
|
|
|
|
// These vars are used to connect db.
|
|
// values can be set to meet your environment with the
|
|
// environment var PGSQL_TEST_CONNSTR
|
|
|
|
// "test" database must exist. i.e. "createdb test" before testing
|
|
$conn_str = getenv('PGSQL_TEST_CONNSTR') ?: "host=localhost dbname=test port=5432 user=postgres password=postgres"; // connection string
|
|
?>
|