php-src/ext/pdo_firebird/tests/skipif.inc
Christoph M. Becker e4757ecc80 Re-add common PDO tests to Firebird test suite
These have been inadvertently dropped when changing the test suite to
not require ext/interbase anymore, so we add them back.

We also change the required environment variable names to match the
usual PDO names.  Particularly, we replace `PDO_FIREBIRD_TEST_HOSTNAME`
and `_DATABASE` with the more flexible `PDO_FIREBIRD_TEST_DSN`.
2019-05-04 14:24:15 +02:00

12 lines
No EOL
202 B
PHP

<?php
if(!extension_loaded('pdo_firebird'))
{
die('skip: pdo_firebird not available');
}
elseif(!getenv('PDO_FIREBIRD_TEST_DSN'))
{
die('skip: PDO_FIREBIRD_TEST_DSN must be set');
}
?>