summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorivmai <ivmai>2011-05-31 11:09:34 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:59 +0200
commit26442e871507167317ebbc13feafca164354cf7d (patch)
tree6598665a034ebfa0cb32806b06feb9bb693e6e3d /tests
parent66289a86c874bd64660d9a5b49f2759c8096f429 (diff)
2011-05-31 Ivan Maidanski <ivmai@mail.ru>
* win32_threads.c (GC_unregister_my_thread): Use KNOWN_FINISHED() instead of FINISHED macro. * tests/test.c (check_heap_stats): Round up max_heap_sz value for Win32 (same as for USE_MMAP).
Diffstat (limited to 'tests')
-rw-r--r--tests/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.c b/tests/test.c
index 153d977..c486714 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -1275,7 +1275,7 @@ void check_heap_stats(void)
# endif
# endif
max_heap_sz *= n_tests;
-# ifdef USE_MMAP
+# if defined(USE_MMAP) || defined(MSWIN32)
max_heap_sz = NUMBER_ROUND_UP(max_heap_sz, 4 * 1024 * 1024);
# endif
/* Garbage collect repeatedly so that all inaccessible objects */