The results of each test should go on a single line

This commit is contained in:
Sander Roobol 2002-10-21 09:04:56 +00:00
parent 8e9f83add2
commit 988c355720

View File

@ -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';
}