cvs: php4 / run-tests.php

From: Date: Tue, 08 Oct 2002 08:53:51 +0000
Subject: cvs: php4 / run-tests.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-14705@lists.php.net to get a copy of this message
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.');

« previous php.cvs (#14705) next »