From 153ef8bd7b79fa4063a3994cd653721249e9c465 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 22 Aug 2010 15:31:18 +0000 Subject: - Patch #323477 by justinrandell, boombatower, tstoeckler, Damien Tournoud: increase simpletest speed by running on a simplified profile. --- includes/install.core.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'includes/install.core.inc') 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 -- cgit v1.2.3