derick Tue Oct 8 04:53:51 2002 EDT Modified files: /php4 run-tests.php Log: - Show easier parseable and greppable output Index: php4/run-tests.php diff -u php4/run-tests.php:1.65 php4/run-tests.php:1.66 --- php4/run-tests.php:1.65 Tue Oct 8 04:39:10 2002 +++ php4/run-tests.php Tue Oct 8 04:53:51 2002 @@ -181,14 +181,7 @@ ===================================================================== "; -$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 @@ } 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.');
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php