only run tests of enabled apps

remotes/origin/stable4
Robin Appelman 2012-04-15 13:33:49 +07:00
parent 819af69972
commit 71cdfdcec8
1 changed files with 1 additions and 1 deletions

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