]> granicus.if.org Git - gc/commit
Fix missing [un]collectable_count increments in gctest
authorIvan Maidanski <ivmai@mail.ru>
Wed, 27 Sep 2017 21:52:40 +0000 (00:52 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 28 Sep 2017 21:37:27 +0000 (00:37 +0300)
commit9c792cd89132163601b09b5930c0b4a06022d07c
tree0d05add7364974889ea403fc2c6c225796ec3d04
parent2e1fe9da3baa921bc5fe62f1922f055574165a58
Fix missing [un]collectable_count increments in gctest

* tests/test.c [!DBG_HDRS_ALL] (run_one_test): Increment
uncollectable_count instead of collectable_count (for
GC_malloc_uncollectable(0)).
* tests/test.c [!DBG_HDRS_ALL] (run_one_test): Add missing increments
of collectable_count for GC_malloc(8) and GC_malloc(17).
* tests/test.c (run_one_test): Add missing increment of
collectable_count for (void)GC_MALLOC(0).
tests/test.c