mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-10 15:48:42 +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:
parent
63f5414f2e
commit
4bc1761b12
@ -1,11 +1,18 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
// This file is necessary to run the unit tests and profiling
|
// This file is necessary to run the unit tests and profiling scripts.
|
||||||
// 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 PEAR available on your system? If it isn't, set to false. If PEAR
|
||||||
// is not part of the default include_path, add it.
|
// 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
|
// How many times should profiling scripts iterate over the function? More runs
|
||||||
// means more accurate results, but they'll take longer to perform.
|
// means more accurate results, but they'll take longer to perform.
|
||||||
|
Loading…
Reference in New Issue
Block a user