1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 13:31:27 +02:00
Files
archived-php-src/ext/odbc/tests/skipif.inc
Gabriel Caruso c93aba042f Give a reason why the test was skipped
This will help us debug why a test was skipped in GCOV
(http://gcov.php.net/viewer.php?version=PHP_HEAD&func=skip), and maybe
put them to run again
2018-07-22 16:41:41 -03:00

11 lines
192 B
PHP

<?php
if (!extension_loaded('odbc')) die('skip odbc extension not loaded');
include 'config.inc';
$conn = @odbc_connect($dsn, $user, $pass);
if (!$conn) {
die('skip could not connect');
}