From: Gunnar Wrobel Date: Wed, 10 Feb 2010 16:37:35 +0000 (+0100) Subject: Ensure we dont include the AllTests.php from the Test package. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=04de83d835fc49583bca264cda55543034bc2cea;p=horde.git Ensure we dont include the AllTests.php from the Test package. --- diff --git a/framework/bin/test_framework b/framework/bin/test_framework index 263f4506a..9d4676596 100755 --- a/framework/bin/test_framework +++ b/framework/bin/test_framework @@ -40,7 +40,7 @@ class horde_test_runner // Find all AllTests.php files. foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator($basedir)) as $file) { - if ($file->isFile() && $file->getFilename() == 'AllTests.php' && $file->getPathname() != __FILE__) { + if ($file->isFile() && $file->getFilename() == 'AllTests.php' && $file->getPathname() != __FILE__ && $file->getPathname() != $basedir . '/Test/lib/Horde/Test/AllTests.php') { $pathname = $file->getPathname(); // Include the test suite.