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

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