only run tests of enabled apps

This commit is contained in:
Robin Appelman 2012-04-15 13:33:49 +02:00
parent 819af69972
commit 71cdfdcec8
1 changed files with 1 additions and 1 deletions

View File

@ -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');