cvs: php4 / run-tests.php
| From: | Marcus Boerger | Date: | Sat, 31 May 2003 12:14:42 +0000 |
| Subject: | cvs: php4 / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-21423@lists.php.net to get a copy of this message | ||
helly Sat May 31 08:14:42 2003 EDT
Modified files:
/php4 run-tests.php
Log:
MFB: Showing info/warning once is enough
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.162 php4/run-tests.php:1.163
--- php4/run-tests.php:1.162 Fri May 30 08:41:51 2003
+++ php4/run-tests.php Sat May 31 08:14:41 2003
@@ -612,6 +612,10 @@
$data .= $line;
}
}
+ $stat = proc_get_status($proc);
+ if ($stat['signaled']) {
+ $data .= "\nTermsig=".$stat['stopsig'];
+ }
$code = proc_close($proc);
return $data;
}
@@ -704,7 +708,6 @@
$reason = (ereg("^info[[:space:]]*(.+)\$", trim($output))) ?
ereg_replace("^info[[:space:]]*(.+)\$", "\\1", trim($output)) : FALSE;
if ($reason) {
$info = " (info: $reason)";
- $tested .= $info;
}
}
if (eregi("^warn", trim($output))) {
@@ -712,7 +715,6 @@
if ($reason) {
$warn = true; /* only if there is a reason */
$info = " (warn: $reason)";
- $tested .= $info;
}
}
}