[limb-svn] r6053 - 3.x/trunk/limb/tests_runner/src
svn at limb-project.com
svn at limb-project.com
Tue Jul 3 14:49:06 MSD 2007
Author: pachanga
Date: 2007-07-03 14:49:06 +0400 (Tue, 03 Jul 2007)
New Revision: 6053
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6053
Modified:
3.x/trunk/limb/tests_runner/src/lmbTestShellUI.class.php
Log:
-- a bit more logical errors output
Modified: 3.x/trunk/limb/tests_runner/src/lmbTestShellUI.class.php
===================================================================
--- 3.x/trunk/limb/tests_runner/src/lmbTestShellUI.class.php 2007-07-03 10:34:19 UTC (rev 6052)
+++ 3.x/trunk/limb/tests_runner/src/lmbTestShellUI.class.php 2007-07-03 10:49:06 UTC (rev 6053)
@@ -56,9 +56,6 @@
$version = $this->_getVersion();
$usage = <<<EOD
-
-$version
-
Usage:
limb_unit OPTIONS <file|dir> [<file|dir>, <file|dir>, ...]
Advanced SimpleTest unit tests runner. Finds and executes unit tests within filesystem.
@@ -69,6 +66,8 @@
--cover-report=dir Sets coverage report directory
--cover-exclude=path1;path2 Sets paths delimitered with ';' which should be excluded from coverage analysis
+$version
+
EOD;
return $usage;
}
@@ -81,8 +80,9 @@
protected function _error($message, $code = 1)
{
- echo "ERROR: $message";
- echo $this->help();
+ echo "ERROR: $message\n";
+ echo $this->_getVersion();
+ echo "\n";
exit($code);
}
More information about the limb-svn
mailing list