From 13fe4f067483642acd50cf0308d594f73cbab334 Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org> Date: Thu, 31 Oct 2013 11:35:22 +0000 Subject: [PATCH] Issue #2114727 by ianthomas_uk: Added Improve error message when using run-tests.sh with Testing module disabled. --- core/scripts/run-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh index 3754ebdf393c..ae489e1c772e 100755 --- a/core/scripts/run-tests.sh +++ b/core/scripts/run-tests.sh @@ -33,12 +33,12 @@ // Bootstrap to perform initial validation or other operations. drupal_bootstrap(DRUPAL_BOOTSTRAP_CODE); -simpletest_classloader_register(); if (!\Drupal::moduleHandler()->moduleExists('simpletest')) { - simpletest_script_print_error("The simpletest module must be enabled before this script can run."); + simpletest_script_print_error("The Testing (simpletest) module must be installed before this script can run."); exit; } +simpletest_classloader_register(); if ($args['clean']) { // Clean up left-over times and directories. -- GitLab