Only check for warnings produced by mysqltest if --check-testcases

This commit is contained in:
msvensson@pilot.blaudden 2007-04-04 10:59:00 +02:00
parent 39cca0323c
commit bc675fb568

View File

@ -296,12 +296,15 @@ sub mtr_report_stats ($) {
}
}
# Look for warnings produced by mysqltest in testname.warnings
foreach my $test_warning_file
( glob("$::glob_mysql_test_dir/r/*.warnings") )
if ( $::opt_check_testcases )
{
$found_problems= 1;
print WARN "Check myqltest warnings in $test_warning_file\n";
# Look for warnings produced by mysqltest in testname.warnings
foreach my $test_warning_file
( glob("$::glob_mysql_test_dir/r/*.warnings") )
{
$found_problems= 1;
print WARN "Check myqltest warnings in $test_warning_file\n";
}
}
if ( $found_problems )