summaryrefslogtreecommitdiff
path: root/tests/test.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-10-16 21:12:00 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2025-10-16 21:12:00 +0300
commite962c7a4c70b6e2c3f2df89be176c491d62739e7 (patch)
treea5c22494b81fdc52ff053fc417f5039a2efb6dba /tests/test.h
parent717eb9512cbd98e965c1b842cbc9d84e218c37c2 (diff)
downloadconts-e962c7a4c70b6e2c3f2df89be176c491d62739e7.tar.gz
conts-e962c7a4c70b6e2c3f2df89be176c491d62739e7.zip
use different iteration values for test/benchHEADmaster
+ Regular tests are pretty darn slow with valgrind on certain virtual machines, speed them up a bit
Diffstat (limited to 'tests/test.h')
-rw-r--r--tests/test.h4
1 files changed, 4 insertions, 0 deletions
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 */