summaryrefslogtreecommitdiff
path: root/mysql-test/lib
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.blaudden>2007-04-02 22:58:25 +0200
committerunknown <msvensson@pilot.blaudden>2007-04-02 22:58:25 +0200
commit3c6936c288b5b759cbe1c20c629fa5a506b7ed24 (patch)
tree4daa38a9c9efccfbfb4386015936656f0f06af87 /mysql-test/lib
parent50a1dc7cb3fde817dcfe8182439222dd295eda1f (diff)
downloadmariadb-git-3c6936c288b5b759cbe1c20c629fa5a506b7ed24.tar.gz
Look for "testname.warnings" file produced by mysqltest, could find
problems like misspelled -- commands
Diffstat (limited to 'mysql-test/lib')
-rw-r--r--mysql-test/lib/mtr_report.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/lib/mtr_report.pl b/mysql-test/lib/mtr_report.pl
index 2a90344c110..d47f9051763 100644
--- a/mysql-test/lib/mtr_report.pl
+++ b/mysql-test/lib/mtr_report.pl
@@ -295,6 +295,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") )
+ {
+ $found_problems= 1;
+ print WARN "Check myqltest warnings in $test_warning_file\n";
+ }
+
if ( $found_problems )
{
mtr_warning("Got errors/warnings while running tests, please examine",