Skip to content
Snippets Groups Projects
Commit b9a7acb7 authored by catch's avatar catch
Browse files

Issue #3251817 by alexpott, jonathan1055, nicxvan, longwave: Make run-tests.sh...

Issue #3251817 by alexpott, jonathan1055, nicxvan, longwave: Make run-tests.sh select all the required tests when testgroups: has more than one value

(cherry picked from commit c7e78f42)
parent 30e79f4d
Branches
Tags
7 merge requests!4488Issue #3376281: Random machine names no longer need to be wrapped in strtolower(),!3000Issue #793660: Check for failure of hook_install,!2940Issue #3320240: Entity count query returns a string instead of int,!2937Issue #3315245: Order of languages overrides default language fallback,!1627Issue #3082958: Add gitignore(s) to composer-ready project templates,!1014Issue #3226806: Move filter implementations from filter.module to plugin classes,!939Issue #2971209: Allow the MediaLibraryUiBuilder service to use an alternative view display
......@@ -1135,11 +1135,12 @@ function simpletest_script_get_test_list() {
simpletest_script_print_alternatives($first_group, $all_groups);
exit(SIMPLETEST_SCRIPT_EXIT_FAILURE);
}
// Ensure our list of tests contains only one entry for each test.
// Merge the tests from the groups together.
foreach ($args['test_names'] as $group_name) {
$test_list = array_merge($test_list, array_flip(array_keys($groups[$group_name])));
$test_list = array_merge($test_list, array_keys($groups[$group_name]));
}
$test_list = array_flip($test_list);
// Ensure our list of tests contains only one entry for each test.
$test_list = array_unique($test_list);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment