[limb-svn] r5929 - 3.x/trunk/limb/tests_runner/src

svn at limb-project.com svn at limb-project.com
Fri Jun 1 17:28:53 MSD 2007


Author: pachanga
Date: 2007-06-01 17:28:53 +0400 (Fri, 01 Jun 2007)
New Revision: 5929
URL: http://fisheye.limb-project.com/changelog/limb/?cs=5929

Modified:
   3.x/trunk/limb/tests_runner/src/lmbTestShellUI.class.php
Log:
-- lmbTestShellUI throws fatal error if no configuration file was found

Modified: 3.x/trunk/limb/tests_runner/src/lmbTestShellUI.class.php
===================================================================
--- 3.x/trunk/limb/tests_runner/src/lmbTestShellUI.class.php	2007-06-01 08:48:14 UTC (rev 5928)
+++ 3.x/trunk/limb/tests_runner/src/lmbTestShellUI.class.php	2007-06-01 13:28:53 UTC (rev 5929)
@@ -147,7 +147,8 @@
           break;
         case 'c':
         case '--config':
-          include_once(realpath($option[1]));
+          if(!@include_once(realpath($option[1])))
+            $this->_error("Could not include configuration file '{$option[1]}'");
           $configured = true;
           break;
         case '--cover':



More information about the limb-svn mailing list