diff options
Diffstat (limited to 'tests/UnitTests/framework/index.php')
-rw-r--r-- | tests/UnitTests/framework/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/UnitTests/framework/index.php b/tests/UnitTests/framework/index.php index 802e979e..a8431e91 100644 --- a/tests/UnitTests/framework/index.php +++ b/tests/UnitTests/framework/index.php @@ -15,7 +15,7 @@ class TestFolder while(($entry=readdir($dir))!==false)
{
$fullpath="$path/$entry";
- if($entry!=='.' && $entry!=='..' && is_dir($fullpath))
+ if($entry!=='.' && $entry!=='..' && $entry!=='.svn' && is_dir($fullpath))
{
$folder=new TestFolder($fullpath,$rootPath,$rootUri);
if(!empty($folder->subFolders) || !empty($folder->testFiles))
@@ -48,7 +48,7 @@ function addTests($test,$path,$recursive) {
if(is_file($path.'/'.$entry) && strncmp($entry,'ut',2)===0)
$test->addTestFile($path.'/'.$entry);
- else if($entry!=='.' && $entry!=='..' && is_dir($path.'/'.$entry) && $recursive)
+ else if($entry!=='.' && $entry!=='..' && $entry!=='.svn' && is_dir($path.'/'.$entry) && $recursive)
addTests($test,$path.'/'.$entry,$recursive);
}
closedir($dir);
|