make USE_ZEND_ALLOC env var available in SKIPIF section

This commit is contained in:
Antony Dovgal 2007-05-02 15:25:32 +00:00
parent 7228f2307b
commit 731f3fc2a3

View File

@ -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);