[limb-svn] r6015 - 3.x/trunk/limb/tests_runner/tests

svn at limb-project.com svn at limb-project.com
Tue Jun 26 13:15:02 MSD 2007


Author: pachanga
Date: 2007-06-26 13:15:02 +0400 (Tue, 26 Jun 2007)
New Revision: 6015
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6015

Modified:
   3.x/trunk/limb/tests_runner/tests/test_self.php
Log:
-- test_self.php exits with proper error code

Modified: 3.x/trunk/limb/tests_runner/tests/test_self.php
===================================================================
--- 3.x/trunk/limb/tests_runner/tests/test_self.php	2007-06-25 14:17:00 UTC (rev 6014)
+++ 3.x/trunk/limb/tests_runner/tests/test_self.php	2007-06-26 09:15:02 UTC (rev 6015)
@@ -16,6 +16,7 @@
 foreach(glob(dirname(__FILE__) . '/cases/*Test.class.php') as $file)
   $group->addTestFile($file);
 
-$group->run(new TextReporter());
+if(!$res = $group->run(new TextReporter()))
+  exit(1);
 
 ?>
\ No newline at end of file



More information about the limb-svn mailing list