summaryrefslogtreecommitdiff
path: root/mysql-test/include/have_valgrind.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_valgrind.inc')
-rw-r--r--mysql-test/include/have_valgrind.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/include/have_valgrind.inc b/mysql-test/include/have_valgrind.inc
new file mode 100644
index 00000000000..8374c2ed4f0
--- /dev/null
+++ b/mysql-test/include/have_valgrind.inc
@@ -0,0 +1,11 @@
+# include/have_valgrind.inc
+#
+# If some test should be run with only valgrind then skip it while running test
+# without it.
+#
+
+if (!$VALGRIND_TEST) {
+ --skip Need "--valgrind"
+}
+
+