From f830c481f389de4cd4a6bd22e65e962bd346a151 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Tue, 8 Oct 2002 08:53:51 +0000 Subject: [PATCH] - Show easier parseable and greppable output --- run-tests.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/run-tests.php b/run-tests.php index 54bcd96acff..8d914c3fe27 100755 --- a/run-tests.php +++ b/run-tests.php @@ -181,14 +181,7 @@ echo "TIME START " . date('Y-m-d H:i:s', $start_time) . " ===================================================================== "; -$path_current = ''; foreach ($test_files as $name) { - $path = dirname($name); - if ($path_current != $path) { - $path_current = $path; - echo " entering directory $path\n"; - } - $test_results[$name] = run_test($php,$name); } @@ -307,7 +300,8 @@ TEST $file } fclose($fp); - $tested = trim($section_text['TEST']).' ('.basename($file).')'; + $shortname = str_replace($GLOBALS['cwd'].'/', '', $file); + $tested = trim($section_text['TEST'])." [$shortname]"; $tmp = realpath(dirname($file)); $tmp_skipif = $tmp . uniqid('/phpt.');