mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Only check for warnings produced by mysqltest if --check-testcases
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user