You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-01-12 22:51:27 +03:00
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@581 a1433add-5e2c-0410-b055-b7f2511e0802
16 lines
552 B
PHP
16 lines
552 B
PHP
<?php
|
|
// $Id: all_tests.php,v 1.24 2005/11/28 00:48:54 lastcraft Exp $
|
|
if (! defined('TEST')) {
|
|
define('TEST', __FILE__);
|
|
}
|
|
require_once(dirname(__FILE__) . '/test_groups.php');
|
|
require_once(dirname(__FILE__) . '/../reporter.php');
|
|
|
|
$test = &new AllTests();
|
|
if (SimpleReporter::inCli()) {
|
|
$result = $test->run(new SelectiveReporter(new TextReporter(), @$argv[1], @$argv[2]));
|
|
return ($result ? 0 : 1);
|
|
}
|
|
$test->run(new SelectiveReporter(new HtmlReporter(), @$_GET['c'], @$_GET['t']));
|
|
?>
|