[3.1.0] Landed modified patch by Braden Anderson for %CSS.AllowedProperties
[htmlpurifier.git] / test-settings.sample.php
blobdace6e715ad504d4b7c90047c726598e83cb00b9
1 <?php
3 // ATTENTION! DO NOT EDIT THIS FILE!
4 // This file is necessary to run the unit tests and profiling scripts.
5 // Please copy it to 'test-settings.php' and make the necessary edits.
7 // Note: The minimum set of external libraries you need are PHP SimpleTest
9 // We've got a lot of tests, so we recommend turning the limit off.
10 set_time_limit(0);
12 // Turning off output buffering will prevent mysterious errors from core dumps.
13 $data = @ob_get_clean();
14 if ($data !== false && $data !== '') {
15 echo "Output buffer contains data [".urlencode($data)."]\n";
16 exit;
19 // -----------------------------------------------------------------------------
20 // RECOMMENDED SETTINGS
22 // Where is SimpleTest located?
23 $simpletest_location = '/path/to/simpletest/';
25 // Should PHPT tests be enabled? (This should already be in your path; if it
26 // isn't, set it here)
27 // set_include_path('/path/to/phpt/Core/src' . PATH_SEPARATOR . get_include_path());
28 $GLOBALS['HTMLPurifierTest']['PHPT'] = true;
30 // -----------------------------------------------------------------------------
31 // OPTIONAL SETTINGS
33 // Where is CSSTidy located?
34 $csstidy_location = '/path/to/csstidy/';
36 // For tests/multitest.php, which versions to test?
37 $versions_to_test = array();
39 // Stable PHP binary to use when invoking maintenance scripts.
40 $php = 'php';
42 // For tests/multitest.php, what is the multi-version executable? It must
43 // accept an extra parameter (version number) before all other arguments
44 $phpv = 'phpv';
46 // Should PEAR tests be run? If you've got a valid PEAR installation, set this
47 // to true (or, if it's not in the include path, to its install directory).
48 $GLOBALS['HTMLPurifierTest']['PEAR'] = false;