#At file:///home/bm136801/mysql/retcnt-51/
2775 Bjorn Munch 2009-03-31
Bug #43840 "too many tests failed" includes retries
Only count non-retried tests, and increment before testing
modified:
mysql-test/mysql-test-run.pl
=== modified file 'mysql-test/mysql-test-run.pl'
--- a/mysql-test/mysql-test-run.pl 2009-03-20 15:39:06 +0000
+++ b/mysql-test/mysql-test-run.pl 2009-03-31 11:15:52 +0000
@@ -516,6 +516,7 @@ sub run_test_server ($$$) {
}
}
$num_saved_datadir++;
+ $num_failed_test++ unless $result->{retries};
if ( !$opt_force ) {
# Test has failed, force is off
@@ -530,7 +531,6 @@ sub run_test_server ($$$) {
"Terminating...");
return undef;
}
- $num_failed_test++;
}
# Retry test run after test failure
| Thread |
|---|
| • bzr commit into mysql-5.1-mtr branch (Bjorn.Munch:2775) Bug#43840 | Bjorn Munch | 31 Mar |