]> granicus.if.org Git - gc/commit
Fix missing atomic_count and realloc_count incrementation in gctest
authorIvan Maidanski <ivmai@mail.ru>
Sun, 8 Oct 2017 10:09:46 +0000 (13:09 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 12 Oct 2017 05:42:36 +0000 (08:42 +0300)
commite60b3b8a408f5771caa229e42a5bc2af43c9d44b
tree862d5799c812f14ace1b5dba3b7895f09946fe1e
parenta2bd3ec4a2df72f2ae592afca5b9eb1eccd28d7a
Fix missing atomic_count and realloc_count incrementation in gctest

* tests/test.c [!AT_END && !THREADS] (reverse_test_inner): Increment
realloc_count after GC_REALLOC() call.
* tests/test.c (run_one_test): Increment atomic_count after
(void)GC_MALLOC_ATOMIC(0) and GC_malloc_atomic(1) calls.
tests/test.c