2016-10-13 10:09:51 +02:00
|
|
|
<?php
|
|
|
|
|
2017-01-13 20:10:35 +01:00
|
|
|
use Icinga\Module\Director\Test\Bootstrap;
|
2016-10-13 10:09:51 +02:00
|
|
|
|
2017-01-13 19:47:54 +01:00
|
|
|
call_user_func(function () {
|
2017-01-13 20:10:35 +01:00
|
|
|
$basedir = dirname(__DIR__);
|
2017-02-08 16:42:00 +01:00
|
|
|
if (! class_exists('PHPUnit_Framework_TestCase')) {
|
|
|
|
require_once __DIR__ . '/phpunit-compat.php';
|
|
|
|
}
|
2017-01-13 20:10:35 +01:00
|
|
|
require_once $basedir . '/library/Director/Test/Bootstrap.php';
|
|
|
|
Bootstrap::cli($basedir);
|
2016-11-03 02:50:39 +01:00
|
|
|
});
|