-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunner.php
More file actions
36 lines (29 loc) · 1001 Bytes
/
runner.php
File metadata and controls
36 lines (29 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/******************************************************************************
Copyright (c) 2005 by Alexei V. Vasilyev. All Rights Reserved.
-----------------------------------------------------------------------------
Module : phpTest runner
File : phptestrunner.php
Author : Alexei V. Vasilyev
-----------------------------------------------------------------------------
Description:
******************************************************************************/
require_once( dirname( __FILE__ ) . "/phptest.php" );
require_once( dirname( __FILE__ ). "/tracer.php");
//$PHPTEST_VERBOSE=true;
// test suites define
// end test suites define
$argc = $_SERVER['argc'];
$argv = $_SERVER['argv'];
if ( $argc > 1 ) {
for( $i=1; $i <$argc; $i++ ) {
print( "Loading {$argv[$i]}...\n" );
require_once( $argv[$i] );
}
phpTest::run();
}
else {
phpTest::run(true);
}
//print_r( get_defined_Vars() );
?>