Permalink
Browse files

- Merge [5113].

  • Loading branch information...
sebastianbergmann committed Aug 18, 2009
1 parent 859205d commit b7202681e7bcb880c5457832f77c1cf2bda86575
Showing with 4 additions and 1 deletion.
  1. +4 −1 PHPUnit/Runner/StandardTestSuiteLoader.php
@@ -133,7 +133,10 @@ public function load($suiteClassName, $suiteClassFile = '', $syntaxCheck = FALSE
if (!$method->isAbstract() && $method->isPublic() && $method->isStatic()) {
$suiteClassName = $loadedClass;
- break;
+
+ if ($class->getFileName() == realpath($suiteClassFile)) {
+ break;
+ }
}
}
}

0 comments on commit b720268

Please sign in to comment.