diff options
| author | Derick Rethans <derick@php.net> | 2003-02-18 20:07:59 +0000 |
|---|---|---|
| committer | Derick Rethans <derick@php.net> | 2003-02-18 20:07:59 +0000 |
| commit | 0799d2db84263987b7678d890f416b9edcbadeaa (patch) | |
| tree | 27a8095441f92c6ba5bb915de09cd50e09fa522e | |
| parent | 4ec77cfbb5d868db35bde3dc5a8f4670c22e33d9 (diff) | |
| download | php-git-0799d2db84263987b7678d890f416b9edcbadeaa.tar.gz | |
- Add check for proc_open() being available
| -rwxr-xr-x | run-tests.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/run-tests.php b/run-tests.php index f393b5fedd..1744e0a02a 100755 --- a/run-tests.php +++ b/run-tests.php @@ -57,6 +57,19 @@ NO_PCRE_ERROR; exit; } +if (!function_exists("proc_open")) { + echo <<<NO_PROC_OPEN_ERROR + ++-----------------------------------------------------------+ +| ! ERROR ! | +| The test-suite requires that proc_open() is available. | +| Please check if you disabled it in php.ini. | ++-----------------------------------------------------------+ + +NO_PROC_OPEN_ERROR; +exit; +} + // change into the PHP source directory. if (getenv('TEST_PHP_SRCDIR')) { |
