diff options
| -rwxr-xr-x | run-tests.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/run-tests.php b/run-tests.php index f19b9ea290..2496ea6c72 100755 --- a/run-tests.php +++ b/run-tests.php @@ -25,6 +25,22 @@ * - do not test PEAR components if base class and/or component class cannot be instanciated */ +if (ini_get('safe_mode')) { + echo <<<SAFE_MODE_WARNING + ++-----------------------------------------------------------+ +| ! WARNING ! | +| You are running the test-suite with "safe_mode" ENABLED ! | +| | +| Chances are high that no test will work at all, | +| depending on how you configured "safe_mode" ! | ++-----------------------------------------------------------+ + + +SAFE_MODE_WARNING; +} + + set_time_limit(0); ob_implicit_flush(); |
