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

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

$in = 'in/math.html';
if( isset( $_GET['in'] ) ) {
    $in =   $_GET['in'];
}

include_once 'Testing/FIT/Runner.php';
$fr =   new Testing_FIT_Runner();
$fr->run( $in, '-' );
?>