only test enabled exts
This commit is contained in:
parent
cf5e35bd2d
commit
d1a4c32ef6
@ -197,10 +197,10 @@ class ShimmieWebTestCase extends SCoreWebTestCase {
|
||||
class TestFinder extends TestSuite {
|
||||
function TestFinder($hint) {
|
||||
if(strpos($hint, "..") !== FALSE) return;
|
||||
$dir = "*";
|
||||
$dir = "{".ENABLED_EXTS."}";
|
||||
if(file_exists("ext/$hint/test.php")) $dir = $hint;
|
||||
$this->TestSuite('All tests');
|
||||
foreach(glob("ext/$dir/test.php") as $file) {
|
||||
foreach(glob("ext/$dir/test.php", GLOB_BRACE) as $file) {
|
||||
$this->addFile($file);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user