summaryrefslogtreecommitdiff
path: root/src/ziplist.h
diff options
context:
space:
mode:
authorsundb <sundbcn@gmail.com>2021-03-10 15:13:11 +0800
committerGitHub <noreply@github.com>2021-03-10 09:13:11 +0200
commit95d6297db868fc5400fb833c6753c8d25da486c7 (patch)
treeb17d7104207ca020b35e9ffebb09cd5bfe89de37 /src/ziplist.h
parent53774e69fa68450859a566e84f06d4b8a7a53eca (diff)
downloadredis-95d6297db868fc5400fb833c6753c8d25da486c7.tar.gz
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)
Diffstat (limited to 'src/ziplist.h')
-rw-r--r--src/ziplist.h2
1 files changed, 1 insertions, 1 deletions
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 */