#!/usr/bin/php
<?php
/**
 * start fut runner
 */

// tell where to find project fixtures
$fitDir =   getcwd();
if( isset( 
$_ENV['TESTING_FIT_FIXTURE_DIR'] ) ) {
    
$fitDir =   $_ENV['TESTING_FIT_FIXTURE_DIR'];
}

define'TESTING_FIT_FIXTURE_DIR'$fitDir );
 
$baseDir realpathdirname__FILE__ ) . '/../..' );
$incPath get_include_path() . PATH_SEPARATOR realpath$baseDir '/..' );
set_include_path$incPath );

include_once 
'Testing/FIT/Runner.php';
$result =   Testing_FIT_Runner::main$_SERVER['argv'] );
exit( 
$result );
?>