diff options
author | msvensson@neptunus.(none) <> | 2005-12-08 16:48:37 +0100 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2005-12-08 16:48:37 +0100 |
commit | fe2ec19039ddc7e35824967e28feb0e3a648f294 (patch) | |
tree | fba84cfdcf4250c28ceb54ed38d61938c6dfd7a7 /mysql-test/mysql-test-run.sh | |
parent | 58d0d5387ec777e7bb2e7ec8dac93e98ab3f496c (diff) | |
download | mariadb-git-fe2ec19039ddc7e35824967e28feb0e3a648f294.tar.gz |
WL#2930 mysqltest++
- Updated after valgrinding
Diffstat (limited to 'mysql-test/mysql-test-run.sh')
-rw-r--r-- | mysql-test/mysql-test-run.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh index 3a8aa8614a2..3454873bca4 100644 --- a/mysql-test/mysql-test-run.sh +++ b/mysql-test/mysql-test-run.sh @@ -1002,6 +1002,18 @@ report_stats () { echo "WARNING: Got errors/warnings while running tests. Please examine" echo "$MY_LOG_DIR/warnings for details." fi + + fi # USE_RUNNING_SERVER + + # Check valgrind errors from mysqltest + if [ ! -z "$VALGRIND_MYSQLTEST" ] + then + if $GREP "ERROR SUMMARY" $MYSQLTEST_LOG | $GREP -v "0 errors" > /dev/null + then + $ECHO "Valgrind detected errors!" + $GREP "ERROR SUMMARY" $MYSQLTEST_LOG | $GREP -v "0 errors" + $ECHO "See $MYSQLTEST_LOG" + fi fi } |