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

10 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');
}