summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2009-06-09 11:36:14 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2009-06-09 11:36:14 -0300
commit51733d0cbc8257d0f0dd6b2672229ed78b20ecd2 (patch)
treed7cd66bff6a334103f49f4d7d2ed4782a72a0445 /mysql-test/include
parent173727fb53d05b549a34d73b4ccd300dce40d653 (diff)
downloadmariadb-git-51733d0cbc8257d0f0dd6b2672229ed78b20ecd2.tar.gz
Don't run funcs_1/myisam_views test case under valgrind, unless
the --big-test flag is supplied. Test is too resource intensive under normal valgrind runs (takes more than 30min on powerful hardware). mysql-test/include/no_valgrind_without_big.inc: Add MTR prerequisite file by Matthias Leich. mysql-test/suite/funcs_1/t/myisam_views.test: Test is too resource intensive under "Valgrind".
Diffstat (limited to 'mysql-test/include')
-rw-r--r--mysql-test/include/no_valgrind_without_big.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/include/no_valgrind_without_big.inc b/mysql-test/include/no_valgrind_without_big.inc
new file mode 100644
index 00000000000..743e974daec
--- /dev/null
+++ b/mysql-test/include/no_valgrind_without_big.inc
@@ -0,0 +1,12 @@
+# include/no_valgrind_without_big.inc
+#
+# If we are running with Valgrind ($VALGRIND_TEST <> 0) than the resource
+# consumption (storage space needed, runtime ...) will be extreme.
+# Therefore we require that the option "--big-test" is also set.
+#
+
+if (`SELECT $VALGRIND_TEST <> 0 AND '$BIG_TEST' = ''`)
+{
+ --skip Need "--big-test" when running with Valgrind
+}
+