cvs: php4 / run-tests.php

From: Date: Fri, 08 Dec 2000 12:57:13 +0000
Subject: cvs: php4 / run-tests.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3027@lists.php.net to get a copy of this message
ssb Fri Dec 8 04:57:13 2000 EDT Modified files: /php4 run-tests.php Log: * output fix for skipped tests Index: php4/run-tests.php diff -u php4/run-tests.php:1.10 php4/run-tests.php:1.11 --- php4/run-tests.php:1.10 Thu Dec 7 16:21:09 2000 +++ php4/run-tests.php Fri Dec 8 04:57:11 2000 @@ -242,6 +242,9 @@ return true; } $oskipped = $skipped; + if (sizeof($testfiles) == 0) { + return; + } writeln("%bRunning tests in $dir%B"); writeln("=================".str_repeat("=", strlen($dir))); sort($testfiles); @@ -261,7 +264,7 @@ $total++; } if ($oskipped + (isset($tests_in_dir[$dir])?$tests_in_dir[$dir]:0) == $skipped) { - writeln("(all skipped)"); + writeln("[all $skipped test(s) skipped]"); } writeln(""); return true;

« previous php.cvs (#3027) next »