From e962c7a4c70b6e2c3f2df89be176c491d62739e7 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 16 Oct 2025 21:12:00 +0300 Subject: use different iteration values for test/bench + Regular tests are pretty darn slow with valgrind on certain virtual machines, speed them up a bit --- tests/test.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/test.h') diff --git a/tests/test.h b/tests/test.h index 2fa0879..ea50db0 100644 --- a/tests/test.h +++ b/tests/test.h @@ -9,4 +9,8 @@ #define callocc(...) cover_ptr(calloc, __VA_ARGS__) #define reallocc(...) cover_ptr(realloc, __VA_ARGS__) +#ifndef ITER +#define ITER 1000000 +#endif + #endif /* TEST_H */ -- cgit v1.2.3