summaryrefslogtreecommitdiff
path: root/includes/install.core.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-08-22 15:31:18 +0000
committerDries Buytaert <dries@buytaert.net>2010-08-22 15:31:18 +0000
commit153ef8bd7b79fa4063a3994cd653721249e9c465 (patch)
treec5eba601e3aab1b62086a7904ed070e26683d5c5 /includes/install.core.inc
parent260dbda9708a68e83b7ab84e1d947abae123a9d1 (diff)
downloadbrdo-153ef8bd7b79fa4063a3994cd653721249e9c465.tar.gz
brdo-153ef8bd7b79fa4063a3994cd653721249e9c465.tar.bz2
- Patch #323477 by justinrandell, boombatower, tstoeckler, Damien Tournoud: increase simpletest speed by running on a simplified profile.
Diffstat (limited to 'includes/install.core.inc')
-rw-r--r--includes/install.core.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/install.core.inc b/includes/install.core.inc
index 443ec8aa4..5e16023b2 100644
--- a/includes/install.core.inc
+++ b/includes/install.core.inc
@@ -1111,6 +1111,11 @@ function install_select_profile_form($form, &$form_state, $profile_files) {
include_once DRUPAL_ROOT . '/' . $profile->uri;
$details = install_profile_info($profile->name);
+ // Don't show hidden profiles. This is used by to hide the testing profile,
+ // which only exists to speed up test runs.
+ if ($details['hidden'] === TRUE) {
+ continue;
+ }
$profiles[$profile->name] = $details;
// Determine the name of the profile; default to file name if defined name