diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-24 15:41:03 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-25 10:25:44 +0200 |
commit | 3a36e68c49f2e0e850494e56e6aa60ccf296c712 (patch) | |
tree | 67d82c5855c0a17c85ecf89b16627299fb7c5d96 | |
parent | 46bad1d67975527a5b01e9140a799dbf64de8863 (diff) | |
download | php-git-3a36e68c49f2e0e850494e56e6aa60ccf296c712.tar.gz |
Don't force USE_ZEND_ALLOC=0 in run-tests.php
USE_ZEND_ALLOC=0 is useful not just for valgrind ... we should not
force USE_ZEND_ALLOC=1 if the user explicitly disabled it.
-rwxr-xr-x | run-tests.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/run-tests.php b/run-tests.php index 50db361634..9d20304c25 100755 --- a/run-tests.php +++ b/run-tests.php @@ -2140,9 +2140,6 @@ TEST $file if ($valgrind) { $env['USE_ZEND_ALLOC'] = '0'; $env['ZEND_DONT_UNLOAD_MODULES'] = 1; - } else { - $env['USE_ZEND_ALLOC'] = '1'; - $env['ZEND_DONT_UNLOAD_MODULES'] = 0; } junit_start_timer($shortname); @@ -2444,9 +2441,6 @@ TEST $file $env['ZEND_DONT_UNLOAD_MODULES'] = 1; $cmd = $valgrind->wrapCommand($cmd, $memcheck_filename, strpos($test_file, "pcre") !== false); - } else { - $env['USE_ZEND_ALLOC'] = '1'; - $env['ZEND_DONT_UNLOAD_MODULES'] = 0; } if ($DETAILED) echo " |