diff options
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/run-tests.php b/run-tests.php index c7fcadeab2..cff12fd083 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1313,7 +1313,7 @@ TEST $file unset($section_text['FILEEOF']); } - foreach (array( 'FILE', 'EXPECT', 'EXPECTF', 'EXPECTREGEX' ) as $prefix) { + foreach (array( 'FILE', 'EXPECT', 'EXPECTF', 'EXPECTREGEX' ) as $prefix) { $key = $prefix . '_EXTERNAL'; if (@count($section_text[$key]) == 1) { @@ -1611,9 +1611,9 @@ TEST $file } } } - + if (!extension_loaded("zlib") - && ( array_key_exists("GZIP_POST", $section_text) + && ( array_key_exists("GZIP_POST", $section_text) || array_key_exists("DEFLATE_POST", $section_text)) ) { $message = "ext/zlib required"; @@ -2202,7 +2202,7 @@ $output if (isset($old_php)) { $php = $old_php; } - + $diff = empty($diff) ? '' : preg_replace('/\e/', '<esc>', $diff); junit_mark_test_as($restype, str_replace($cwd . '/', '', $tested_file), $tested, null, $info, $diff); |