Commit d02b879b authored by catch's avatar catch

Issue #1991088 by alexpott: Fixed Test info not displayed for PHPUnit tests...

Issue #1991088 by alexpott: Fixed Test info not displayed for PHPUnit tests when using run-tests.sh.
parent 6718550c
......@@ -29,6 +29,8 @@
// Bootstrap to perform initial validation or other operations.
drupal_bootstrap(DRUPAL_BOOTSTRAP_CODE);
simpletest_classloader_register();
if (!module_exists('simpletest')) {
simpletest_script_print_error("The simpletest module must be enabled before this script can run.");
exit;
......@@ -343,7 +345,7 @@ function simpletest_script_get_all_tests() {
*/
function simpletest_script_execute_batch($test_classes) {
global $args, $test_ids;
simpletest_classloader_register();
// Multi-process execution.
$children = array();
while (!empty($test_classes) || !empty($children)) {
......
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