From 8d4e3ec38968deb207028b158742cc088c677d55 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Thu, 14 Mar 2019 09:31:35 +0000 Subject: [PATCH] Issue #3039572 by Lendude, Mile23: Prevent tests with multiple groups running multiple times (cherry picked from commit be9af5bda65481a3e4225e109df94fe4d32e3b41) --- core/scripts/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh index 36f6c471709e..3d9aa8017029 100755 --- a/core/scripts/run-tests.sh +++ b/core/scripts/run-tests.sh @@ -1033,7 +1033,7 @@ function simpletest_script_get_test_list() { foreach ($groups as $group => $tests) { $all_tests = array_merge($all_tests, array_keys($tests)); } - $test_list = $all_tests; + $test_list = array_unique($all_tests); } else { if ($args['class']) { -- GitLab