[limb-svn] r6893 - 3.x/trunk/limb

svn at limb-project.com svn at limb-project.com
Wed Apr 2 08:53:12 MSD 2008


Author: pachanga
Date: 2008-04-02 08:53:12 +0400 (Wed, 02 Apr 2008)
New Revision: 6893
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6893

Modified:
   3.x/trunk/limb/runtests.php
Log:
-- runtests.php does not affect passed tests path in any way

Modified: 3.x/trunk/limb/runtests.php
===================================================================
--- 3.x/trunk/limb/runtests.php	2008-04-02 04:46:56 UTC (rev 6892)
+++ 3.x/trunk/limb/runtests.php	2008-04-02 04:53:12 UTC (rev 6893)
@@ -18,9 +18,10 @@
   foreach($tests as $test)
   {
     $runner = new lmbTestRunner();
-    $path = dirname(__FILE__) . '/' . $test;
-    if(file_exists($path) || is_dir($path))
-      $res &= $runner->run(new lmbTestTreeFilePathNode($path));
+    if(file_exists($test) || is_dir($test))
+      $res &= $runner->run(new lmbTestTreeFilePathNode($test));
+    else
+      echo "Test path '$test' is not valid, skipping\n";
   }
 }
 else



More information about the limb-svn mailing list