only test enabled apps
This commit is contained in:
parent
b621431c11
commit
4daedda35a
|
@ -30,7 +30,7 @@ require_once 'simpletest/default_reporter.php';
|
||||||
loadTests(dirname(__FILE__));
|
loadTests(dirname(__FILE__));
|
||||||
|
|
||||||
//load app test cases
|
//load app test cases
|
||||||
$apps=OC_App::getAllApps();
|
$apps=OC_Appconfig::getApps();
|
||||||
foreach($apps as $app){
|
foreach($apps as $app){
|
||||||
if(is_dir(OC::$SERVERROOT.'/apps/'.$app.'/tests')){
|
if(is_dir(OC::$SERVERROOT.'/apps/'.$app.'/tests')){
|
||||||
loadTests(OC::$SERVERROOT.'/apps/'.$app.'/tests');
|
loadTests(OC::$SERVERROOT.'/apps/'.$app.'/tests');
|
||||||
|
|
Loading…
Reference in New Issue