Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
/*
4
 * This file is part of the symfony package.
5
 * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
 
11
define('SYMFONY_LIB_DIR', realpath(dirname(__FILE__).'/../../../..'));
12
 
13
require(SYMFONY_LIB_DIR.'/vendor/lime/lime.php');
14
require(SYMFONY_LIB_DIR.'/util/sfFinder.class.php');
15
 
16
$h = new lime_harness();
17
$h->base_dir = realpath(dirname(__FILE__).'/..');
18
 
19
$h->register(sfFinder::type('file')->prune('fixtures')->name('*Test.php')->in(array(
20
  // unit tests
21
  $h->base_dir.'/unit',
22
  // functional tests
23
  $h->base_dir.'/functional'
24
)));
25
 
26
exit($h->run() ? 0 : 1);