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

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