Browse Source

BUG#37834: mtr --max-test-fail=0 does not set max number of failed tests to unlimited

Problem: mtr --max-test-fail=0 should allow unlimited number
of errors, but stops after the second error.
Fix: It's just a typo in mysql-test-run.pl
pull/47/merge
Sven Sandberg 18 years ago
parent
commit
818802a6ea
  1. 2
      mysql-test/mysql-test-run.pl

2
mysql-test/mysql-test-run.pl

@ -451,7 +451,7 @@ sub run_test_server {
push(@$completed, $result);
return $completed;
}
elsif ($num_failed_test > 0 and
elsif ($opt_max_test_fail > 0 and
$num_failed_test >= $opt_max_test_fail) {
$suite_timeout_proc->kill();
mtr_report("Too many tests($num_failed_test) failed!",

Loading…
Cancel
Save