mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-69740 Behat init: more progress info at the end of the install
This commit is contained in:
parent
87afa4d759
commit
3a048549de
3 changed files with 16 additions and 5 deletions
|
@ -135,7 +135,7 @@ class behat_util extends testing_util {
|
|||
/**
|
||||
* Build theme CSS.
|
||||
*/
|
||||
public static function build_themes() {
|
||||
public static function build_themes($mtraceprogress = false) {
|
||||
global $CFG;
|
||||
require_once("{$CFG->libdir}/outputlib.php");
|
||||
|
||||
|
@ -147,7 +147,7 @@ class behat_util extends testing_util {
|
|||
}, $themenames);
|
||||
|
||||
// Build the list of themes and cache them in local cache.
|
||||
$themes = theme_build_css_for_themes($themeconfigs, ['ltr'], true);
|
||||
$themes = theme_build_css_for_themes($themeconfigs, ['ltr'], true, $mtraceprogress);
|
||||
|
||||
$framework = self::get_framework();
|
||||
$storageroot = self::get_dataroot() . "/{$framework}/themedata";
|
||||
|
@ -278,7 +278,6 @@ class behat_util extends testing_util {
|
|||
* @return void
|
||||
*/
|
||||
public static function start_test_mode($themesuitewithallfeatures = false, $tags = '', $parallelruns = 0, $run = 0) {
|
||||
global $CFG;
|
||||
|
||||
if (!defined('BEHAT_UTIL')) {
|
||||
throw new coding_exception('This method can be only used by Behat CLI tool');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue