~coughphp/coughphp/2.0

« back to all changes in this revision

Viewing changes to scripts/utest

  • Committer: Anthony Bush
  • Date: 2008-06-20 17:24:30 UTC
  • mfrom: (257.1.15 coughphp-awbush)
  • Revision ID: anthony@anthonybush.com-20080620172430-te0xk0yna2e7clp0
Merging from coughphp-awbush branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<?php
3
3
 
4
4
// CHANGE THIS TO YOUR `simpletest` PATH. (e.g. if it's in the include path, set it to empty string).
5
 
define('SIMPLETEST_PATH', dirname(dirname(dirname(__FILE__))) . '/simpletest/simpletest_1.0.1beta2/');
 
5
define('SIMPLETEST_PATH', 'simpletest/');
6
6
 
7
7
 
8
8
/////////////////////////////////
59
59
}
60
60
 
61
61
 
 
62
// simpletest is not strict compatible, so remove it
 
63
$oldErrorReporting = error_reporting();
 
64
error_reporting($oldErrorReporting & ~E_STRICT);
 
65
 
62
66
// Run Tests
63
67
require_once(SIMPLETEST_PATH . 'autorun.php');
64
68
$test = new TestSuite('Running Tests');