mirror of
https://github.com/php/php-src.git
synced 2025-01-22 11:44:09 +08:00
make USE_ZEND_ALLOC env var available in SKIPIF section
This commit is contained in:
parent
7228f2307b
commit
731f3fc2a3
@ -1215,6 +1215,12 @@ TEST $file
|
||||
|
||||
$ini_settings .= " -dunicode.semantics=" . (int)$unicode_test;
|
||||
|
||||
if ($leak_check) {
|
||||
$env['USE_ZEND_ALLOC'] = '0';
|
||||
} else {
|
||||
$env['USE_ZEND_ALLOC'] = '1';
|
||||
}
|
||||
|
||||
$output = system_with_timeout("$extra $php -q $ini_settings $test_skipif", $env);
|
||||
if (!$cfg['keep']['skip']) {
|
||||
@unlink($test_skipif);
|
||||
|
Loading…
Reference in New Issue
Block a user