Revision: 532
          http://pel.svn.sourceforge.net/pel/?rev=532&view=rev
Author:   lsolesen
Date:     2010-02-24 10:30:24 +0000 (Wed, 24 Feb 2010)

Log Message:
-----------
Added config.local.php and config.local.example.php to ignored tests.

Modified Paths:
--------------
    trunk/test/run-tests.php

Modified: trunk/test/run-tests.php
===================================================================
--- trunk/test/run-tests.php    2010-02-24 10:29:57 UTC (rev 531)
+++ trunk/test/run-tests.php    2010-02-24 10:30:24 UTC (rev 532)
@@ -26,7 +26,7 @@
 
 error_reporting(E_ALL);
 
-if (!file_exists(dirname(__FILE__))) {
+if (!file_exists(dirname(__FILE__) . '/config.local.php')) {
     echo "Create config.local.php";
     exit(1);
 }
@@ -66,7 +66,7 @@
   $group = new GroupTest('Selected PEL tests');
 } else {
   /* otherwive test all .php files, except this file (run-tests.php). */
-  $tests = array_diff(glob('*.php'), array('run-tests.php'));
+  $tests = array_diff(glob('*.php'), array('run-tests.php', 
'config.local.php', 'config.local.example.php'));
   $group = new GroupTest('All PEL tests');
 
   /* Also test all image tests (if they are available). */


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
PEL-commits mailing list
pel-comm...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pel-commits

Reply via email to