mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
- Fix handling of bork tests
This commit is contained in:
parent
5e40ff6d1e
commit
34bd7e96fd
@ -990,8 +990,11 @@ TEST $file
|
||||
}
|
||||
fclose($fp);
|
||||
|
||||
$shortname = str_replace($cwd.'/', '', $file);
|
||||
$tested_file = $shortname;
|
||||
|
||||
if ($borked) {
|
||||
show_result("BORK", $bork_info);
|
||||
show_result("BORK", $bork_info, $tested_file);
|
||||
$PHP_FAILED_TESTS['BORKED'][] = array (
|
||||
'name' => $file,
|
||||
'test_name' => '',
|
||||
@ -1002,9 +1005,7 @@ TEST $file
|
||||
return 'BORKED';
|
||||
}
|
||||
|
||||
$shortname = str_replace($cwd.'/', '', $file);
|
||||
$tested = trim($section_text['TEST']);
|
||||
$tested_file = $shortname;
|
||||
|
||||
/* For GET/POST tests, check if cgi sapi is available and if it is, use it. */
|
||||
if ((!empty($section_text['GET']) || !empty($section_text['POST']))) {
|
||||
|
Loading…
Reference in New Issue
Block a user