0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-09-20 19:25:19 +00:00

Update test settings file with more options.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1302 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2007-06-30 05:02:27 +00:00
parent 63f5414f2e
commit 4bc1761b12

View File

@ -1,11 +1,18 @@
<?php
// This file is necessary to run the unit tests and profiling
// scripts.
// 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();
// 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.
$GLOBALS['HTMLPurifierTest']['PEAR'] = true;
$GLOBALS['HTMLPurifierTest']['PEAR'] = false;
// set_include_path('/path/to/pear' . PATH_SEPARATOR . get_include_path());
// How many times should profiling scripts iterate over the function? More runs
// means more accurate results, but they'll take longer to perform.