diff options
author | Marcus Boerger <helly@php.net> | 2003-05-31 12:14:41 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-05-31 12:14:41 +0000 |
commit | aa87c89d35603db54a22c33422848000dc606970 (patch) | |
tree | f9b081d7d0c45c69816f9b7313e1118a4862d411 /run-tests.php | |
parent | 2efc619daea5fb9366e46e276dcb29b67fc447b1 (diff) | |
download | php-git-aa87c89d35603db54a22c33422848000dc606970.tar.gz |
MFB: Showing info/warning once is enough
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/run-tests.php b/run-tests.php index bc2193ad3d..6262694939 100755 --- a/run-tests.php +++ b/run-tests.php @@ -612,6 +612,10 @@ function system_with_timeout($commandline) $data .= $line; } } + $stat = proc_get_status($proc); + if ($stat['signaled']) { + $data .= "\nTermsig=".$stat['stopsig']; + } $code = proc_close($proc); return $data; } @@ -704,7 +708,6 @@ TEST $file $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 @@ TEST $file if ($reason) { $warn = true; /* only if there is a reason */ $info = " (warn: $reason)"; - $tested .= $info; } } } |