]> granicus.if.org Git - php/commitdiff
The results of each test should go on a single line
authorSander Roobol <sander@php.net>
Mon, 21 Oct 2002 09:04:56 +0000 (09:04 +0000)
committerSander Roobol <sander@php.net>
Mon, 21 Oct 2002 09:04:56 +0000 (09:04 +0000)
run-tests.php

index 9b43f7281157b89f220cfdd141a6c564af31e4fb..9e8d9384a0128b35dbb2d61b0c8f7a42339f8091 100755 (executable)
@@ -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';
                        }