cvs: php4 / run-tests.php
| From: | Sander Roobol | Date: | Mon, 21 Oct 2002 09:04:57 +0000 |
| Subject: | cvs: php4 / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15096@lists.php.net to get a copy of this message | ||
sander Mon Oct 21 05:04:57 2002 EDT
Modified files:
/php4 run-tests.php
Log:
The results of each test should go on a single line
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.76 php4/run-tests.php:1.77
--- php4/run-tests.php:1.76 Mon Oct 21 04:55:49 2002
+++ php4/run-tests.php Mon Oct 21 05:04:56 2002
@@ -434,10 +434,12 @@
$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';
}