2006-09-24 21:58:14 +00:00
|
|
|
<?php
|
|
|
|
|
2007-06-30 05:02:27 +00:00
|
|
|
// This file is necessary to run the unit tests and profiling scripts.
|
|
|
|
// Please copy it to 'test-settings.php' and make the necessary edits.
|
|
|
|
|
|
|
|
// It's recommended that you turn off PHP's time limit for the unit tests.
|
|
|
|
set_time_limit(0);
|
|
|
|
|
|
|
|
// Turning off output buffering will prevent mysterious errors from core dumps
|
|
|
|
@ob_end_flush();
|
2006-09-24 21:58:14 +00:00
|
|
|
|
|
|
|
// Is PEAR available on your system? If it isn't, set to false. If PEAR
|
|
|
|
// is not part of the default include_path, add it.
|
2007-06-30 05:02:27 +00:00
|
|
|
$GLOBALS['HTMLPurifierTest']['PEAR'] = false;
|
|
|
|
// set_include_path('/path/to/pear' . PATH_SEPARATOR . get_include_path());
|
2006-09-24 21:58:14 +00:00
|
|
|
|
|
|
|
// How many times should profiling scripts iterate over the function? More runs
|
|
|
|
// means more accurate results, but they'll take longer to perform.
|
|
|
|
$GLOBALS['HTMLPurifierTest']['Runs'] = 2;
|
|
|
|
|
|
|
|
// Where is SimpleTest located?
|
|
|
|
$simpletest_location = '/path/to/simpletest/';
|
|
|
|
|