<?php
/**
 * start fut runner
 */

// tell where to find project fixtures
$fitDir =   dirname( __FILE__ ) . '/fixture';
define( 'PHPFIT_FIXTURE_DIR', $fitDir );
 
$baseDir = realpath( dirname( __FILE__ ) . '/..' );
$incPath = get_include_path() . ':' . realpath( $baseDir . '/..' );
set_include_path( $incPath );

include_once 'PHPFIT/Runner.php';
$fr =   new PHPFIT_Runner();
$fr->run( $_GET['in'], '-' );
?>