summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Roobol <sander@php.net>2002-10-21 09:04:56 +0000
committerSander Roobol <sander@php.net>2002-10-21 09:04:56 +0000
commit988c3557208b88f18738de79534a79021db4bab9 (patch)
treeb94458df6db2127dbbc2d0103052f8ab24ba6625
parent8e9f83add23b1a64a460e590f659023e010b8f5c (diff)
downloadphp-git-988c3557208b88f18738de79534a79021db4bab9.tar.gz
The results of each test should go on a single line
-rwxr-xr-xrun-tests.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/run-tests.php b/run-tests.php
index 9b43f72811..9e8d9384a0 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -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';
}