Commit 41888bb2 authored by Dries's avatar Dries

Issue #2226301 by alexpott: Run-test.sh --repeat should work nicely with --concurrency.

parent 086d507d
......@@ -71,11 +71,14 @@
simpletest_script_reporter_init();
// Execute tests.
$tests_to_run = array();
for ($i = 0; $i < $args['repeat']; $i++) {
simpletest_script_execute_batch($test_list);
$tests_to_run = array_merge($tests_to_run, $test_list);
}
// Execute tests.
simpletest_script_execute_batch($tests_to_run);
// Stop the timer.
simpletest_script_reporter_timer_stop();
......
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