mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
The results of each test should go on a single line
This commit is contained in:
parent
8e9f83add2
commit
988c355720
@ -434,10 +434,12 @@ TEST $file
|
||||
$output = `$php $tmp_skipif`;
|
||||
@unlink($tmp_skipif);
|
||||
if (ereg("^skip", trim($output))){
|
||||
echo "SKIP $tested\n";
|
||||
echo "SKIP $tested";
|
||||
$reason = (ereg("^skip\s*(.+)$", trim($output))) ? ereg_replace("^skip\s*(.+)$", "\\1", trim($output)) : FALSE;
|
||||
if ($reason) {
|
||||
echo "\treason: $reason\n";
|
||||
echo " (reason: $reason)\n";
|
||||
} else {
|
||||
echo "\n";
|
||||
}
|
||||
return 'SKIPPED';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user