Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6a6009ccbc
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (25 sloc) 0.577 kb
<?php
use
mageekguy\atoum,
mageekguy\atoum\scripts
;
require_once __DIR__ . '/../classes/autoloader.php';
$builder = new scripts\builder(__FILE__);
set_error_handler(function($error, $message, $file, $line) use ($builder) {
if (error_reporting() !== 0)
{
$builder->writeError(sprintf($builder->getLocale()->_('Error: %s'), $message));
exit($error);
}
}
);
try
{
$builder->run();
}
catch (\exception $exception)
{
$builder->writeError(sprintf($builder->getLocale()->_('Exception: %s'), $exception->getMessage()));
exit($exception->getCode());
}
exit(0);
Jump to Line
Something went wrong with that request. Please try again.