only test enabled apps

This commit is contained in:
Robin Appelman 2012-03-02 17:40:38 +01:00
parent b621431c11
commit 4daedda35a

View file

@ -30,7 +30,7 @@ require_once 'simpletest/default_reporter.php';
loadTests(dirname(__FILE__));
//load app test cases
$apps=OC_App::getAllApps();
$apps=OC_Appconfig::getApps();
foreach($apps as $app){
if(is_dir(OC::$SERVERROOT.'/apps/'.$app.'/tests')){
loadTests(OC::$SERVERROOT.'/apps/'.$app.'/tests');