Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (17 sloc) 594 Bytes
<?php
if ($fp = @fopen('PHPUnit/Autoload.php', 'r', true)) {
require_once 'PHPUnit/Autoload.php';
} elseif ($fp = @fopen('PHPUnit/Framework.php', 'r', true)) {
require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
} else {
die('skip could not find PHPUnit');
}
fclose($fp);
if ('@php_dir@' == '@'.'php_dir'.'@') {
// This package hasn't been installed.
// Adjust path to ensure includes find files in working directory.
ini_set('include_path',
dirname(dirname(__FILE__))
. PATH_SEPARATOR . ini_get('include_path'));
}
Something went wrong with that request. Please try again.