summaryrefslogtreecommitdiff
path: root/src/testhelp.h
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2023-02-16 10:50:58 +0200
committerGitHub <noreply@github.com>2023-02-16 10:50:58 +0200
commit5b61b0dc6d2579ee484fa6cf29bfac59513f84ab (patch)
tree0f4bbced22cb5c2af8a9b9befa3e091e2e7c138e /src/testhelp.h
parent233abbbe03211ca700e10f827d289da24d9bd7e3 (diff)
downloadredis-5b61b0dc6d2579ee484fa6cf29bfac59513f84ab.tar.gz
skip new page cache reclame unit test when running in valgrind (#11808)
the new test is incompatible with valgrind. added a new `--valgrind` argument to `redis-server tests` mode, which will cause that test to be skipped..
Diffstat (limited to 'src/testhelp.h')
-rw-r--r--src/testhelp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testhelp.h b/src/testhelp.h
index 394a9a6c0..d5be80e79 100644
--- a/src/testhelp.h
+++ b/src/testhelp.h
@@ -41,6 +41,7 @@
#define REDIS_TEST_ACCURATE (1<<0)
#define REDIS_TEST_LARGE_MEMORY (1<<1)
+#define REDIS_TEST_VALGRIND (1<<2)
extern int __failed_tests;
extern int __test_num;