From 95d6297db868fc5400fb833c6753c8d25da486c7 Mon Sep 17 00:00:00 2001 From: sundb Date: Wed, 10 Mar 2021 15:13:11 +0800 Subject: Add run all test support with define REDIS_TEST (#8570) 1. Add `redis-server test all` support to run all tests. 2. Add redis test to daily ci. 3. Add `--accurate` option to run slow tests for more iterations (so that by default we run less cycles (shorter time, and less prints). 4. Move dict benchmark to REDIS_TEST. 5. fix some leaks in tests 6. make quicklist tests run on a specific fill set of options rather than huge ranges 7. move some prints in quicklist test outside their loops to reduce prints 8. removing sds.h from dict.c since it is now used in both redis-server and redis-cli (uses hiredis sds) --- src/ziplist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ziplist.h') diff --git a/src/ziplist.h b/src/ziplist.h index 9dc1061b0..9e7997ad8 100644 --- a/src/ziplist.h +++ b/src/ziplist.h @@ -67,7 +67,7 @@ void ziplistRandomPairs(unsigned char *zl, unsigned int count, ziplistEntry *key unsigned int ziplistRandomPairsUnique(unsigned char *zl, unsigned int count, ziplistEntry *keys, ziplistEntry *vals); #ifdef REDIS_TEST -int ziplistTest(int argc, char *argv[]); +int ziplistTest(int argc, char *argv[], int accurate); #endif #endif /* _ZIPLIST_H */ -- cgit v1.2.1