diff options
author | Monty <monty@mariadb.org> | 2021-12-15 23:29:04 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2021-12-15 23:29:04 +0200 |
commit | 20f22dfa2f2d5bb5a1511d42a5bb18fbf469e812 (patch) | |
tree | 7bd0a6549a8637dcbc377c4b5f7fad36cedc442b /mysql-test/include/not_valgrind_build.inc | |
parent | 607b14c4dc3e052238ba58498607f70883f54a20 (diff) | |
download | mariadb-git-20f22dfa2f2d5bb5a1511d42a5bb18fbf469e812.tar.gz |
Fixed some tests that failes when built with valgrind
Example build: ./BUILD/compile-pentium64-valgrind-max
Fixes:
- sp-no-valgrind failed if binary was built for valgrind as in this case
mem_root is allocated in very small hunks which the test cannot handle.
Fixed by testing of valgrind build
- truncate_notembedded failed in reap because of more memory used.
Fixed by allowing reap to fail too
Diffstat (limited to 'mysql-test/include/not_valgrind_build.inc')
-rw-r--r-- | mysql-test/include/not_valgrind_build.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/include/not_valgrind_build.inc b/mysql-test/include/not_valgrind_build.inc new file mode 100644 index 00000000000..2b60f11bfc7 --- /dev/null +++ b/mysql-test/include/not_valgrind_build.inc @@ -0,0 +1,4 @@ +if (`select version() like '%valgrind%'`) +{ + skip Does not run with binaries built with valgrind; +} |