Revision: 526 http://pel.svn.sourceforge.net/pel/?rev=526&view=rev Author: lsolesen Date: 2010-02-24 09:44:40 +0000 (Wed, 24 Feb 2010)
Log Message: ----------- Moved the possibility to edit settings in run-tests.php to config.local.php. An example has been provided. Modified Paths: -------------- trunk/test/run-tests.php Added Paths: ----------- trunk/test/config.local.example.php Added: trunk/test/config.local.example.php =================================================================== --- trunk/test/config.local.example.php (rev 0) +++ trunk/test/config.local.example.php 2010-02-24 09:44:40 UTC (rev 526) @@ -0,0 +1,4 @@ +<?php +/* You can define the path to SimpleTest here, or you can let PEL + * search for it by walking up the directory tree. */ +define('SIMPLE_TEST', '/usr/share/php/'); \ No newline at end of file Modified: trunk/test/run-tests.php =================================================================== --- trunk/test/run-tests.php 2010-02-24 09:39:16 UTC (rev 525) +++ trunk/test/run-tests.php 2010-02-24 09:44:40 UTC (rev 526) @@ -26,9 +26,7 @@ error_reporting(E_ALL); -/* You can define the path to SimpleTest here, or you can let PEL - * search for it by walking up the directory tree. */ -//define('SIMPLE_TEST', '../simpletest/'); +require_once 'config.local.php'; if (!defined('SIMPLE_TEST')) { /* Search for a directory named 'simpletest' upwards in the @@ -56,7 +54,7 @@ require_once(SIMPLE_TEST . 'unit_tester.php'); require_once(SIMPLE_TEST . 'reporter.php'); -if ($argc > 1) { +if ($argc > 1) { /* If command line arguments are given, then only test those. */ array_shift($argv); $tests = $argv; @@ -73,7 +71,7 @@ $image_group = new GroupTest('Image Tests'); foreach ($image_tests as $image_test) $image_group->addTestFile($image_test); - + $group->addTestCase($image_group); } else { echo "Found no image tests, only core functionality will be tested.\n"; 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