Skip to content
Snippets Groups Projects
Commit b2326566 authored by catch's avatar catch Committed by Stefanos Petrakis
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
parent 2fde40b3
No related branches found
No related tags found
1 merge request!2901Issue #3130107: Extend unit test coverage for LanguageNegotiationContentEntity
This commit is part of merge request !2901. Comments created here will be created in the context of that merge request.
......@@ -984,11 +984,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.
Finish editing this message first!
Please register or to comment