projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96031a3
)
Catch error when app has not been activated
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 5 Nov 2010 17:03:17 +0000
(11:03 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 5 Nov 2010 17:03:17 +0000
(11:03 -0600)
horde/test.php
patch
|
blob
|
history
diff --git
a/horde/test.php
b/horde/test.php
index
dde6800
..
39cdea8
100644
(file)
--- a/
horde/test.php
+++ b/
horde/test.php
@@
-73,7
+73,11
@@
$app_version = $registry->getVersion($app);
/* If we've gotten this far, we should have found enough of Horde to run
* tests. Create the testing object. */
if ($app != 'horde') {
- $registry->pushApp($app, array('check_perms' => false));
+ try {
+ $registry->pushApp($app, array('check_perms' => false));
+ } catch (Exception $e) {
+ _hordeTestError($e->getMessage());
+ }
}
$classname = ucfirst($app) . '_Test';
if (!class_exists($classname)) {