Commit 13fe4f06 authored by catch's avatar catch

Issue #2114727 by ianthomas_uk: Added Improve error message when using...

Issue #2114727 by ianthomas_uk: Added Improve error message when using run-tests.sh with Testing module disabled.
parent 154db88b
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment