diff options
author | unknown <msvensson@pilot.blaudden> | 2007-04-04 10:59:00 +0200 |
---|---|---|
committer | unknown <msvensson@pilot.blaudden> | 2007-04-04 10:59:00 +0200 |
commit | 9ff5060ebfa1fcdddfd04a9ca510fc9281ac96d3 (patch) | |
tree | 71debb51ed8103a335bd9946601c3861bb56165a /mysql-test/lib | |
parent | 3c6936c288b5b759cbe1c20c629fa5a506b7ed24 (diff) | |
download | mariadb-git-9ff5060ebfa1fcdddfd04a9ca510fc9281ac96d3.tar.gz |
Only check for warnings produced by mysqltest if --check-testcases
Diffstat (limited to 'mysql-test/lib')
-rw-r--r-- | mysql-test/lib/mtr_report.pl | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/mysql-test/lib/mtr_report.pl b/mysql-test/lib/mtr_report.pl index d47f9051763..a2f22ef8870 100644 --- a/mysql-test/lib/mtr_report.pl +++ b/mysql-test/lib/mtr_report.pl @@ -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 ) |