Fix tests for GC compiled with MANUAL_VDB
authorIvan Maidanski <ivmai@mail.ru>
Tue, 8 May 2018 19:21:59 +0000 (22:21 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 8 May 2018 19:21:59 +0000 (22:21 +0300)
commitb52c140d37cb212f93c6247a7a06e523ce420279
tree23449d29a0f8544b08a2f23bd09927e0570897de
parent510fb9f634b3374da6de7f6849e0a4f44f945723
Fix tests for GC compiled with MANUAL_VDB

* tests/disclaim_test.c (pair_dct, pair_new): Call
GC_end_stubborn_change(p) after writing the last pointer field of p.
* tests/test.c [!DBG_HDRS_ALL] (run_one_test): Likewise.
* tests/test.c (small_cons, small_cons_uncollectable, mktree,
typed_test): Call GC_END_STUBBORN_CHANGE(r) after writing the last
pointer field of r.
* tests/test.c [GC_GCJ_SUPPORT] (gcj_cons): Likewise.
* tests/test.c [!SMALL_CONFIG && !GC_DEBUG] (alloc8bytes): Likewise.
tests/disclaim_test.c
tests/test.c