Commit b8413de1 authored by Magnus Svensson's avatar Magnus Svensson

WL4189 Cap the autodetected parallelism value to 8

parent a579d62e
...@@ -279,6 +279,7 @@ sub main { ...@@ -279,6 +279,7 @@ sub main {
for my $limit (2000, 1500, 1000, 500){ for my $limit (2000, 1500, 1000, 500){
$opt_parallel-- if ($sys_info->min_bogomips() < $limit); $opt_parallel-- if ($sys_info->min_bogomips() < $limit);
} }
$opt_parallel= 8 if ($opt_parallel > 8);
$opt_parallel= $num_tests if ($opt_parallel > $num_tests); $opt_parallel= $num_tests if ($opt_parallel > $num_tests);
$opt_parallel= 1 if ($opt_parallel < 1); $opt_parallel= 1 if ($opt_parallel < 1);
mtr_report("Using parallel: $opt_parallel"); mtr_report("Using parallel: $opt_parallel");
......
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