From 73c339235c455e83b50a459370a26c1a76788aa2 Mon Sep 17 00:00:00 2001 From: Daan Leijen Date: Wed, 28 Apr 2021 16:12:32 -0700 Subject: [PATCH] collect in debug mode in stress test --- test/test-stress.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test-stress.c b/test/test-stress.c index 9b64d243..cf01dc40 100644 --- a/test/test-stress.c +++ b/test/test-stress.c @@ -250,7 +250,9 @@ int main(int argc, char** argv) { test_leak(); #endif - // mi_collect(true); +#ifndef NDEBUG + mi_collect(true); +#endif #ifndef USE_STD_MALLOC mi_stats_print(NULL); #endif