]> granicus.if.org Git - gc/commit
Add minimal testing of GC_MALLOC_[ATOMIC_]WORDS and GC_CONS (gctest)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 22 Dec 2016 22:07:41 +0000 (01:07 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 6 Feb 2017 17:41:04 +0000 (20:41 +0300)
commit5ba7f790443fc73c92d5ea780221337ed1c461ae
tree0f270cf83e257dcc4ffa080c9d3106ea64b888dc
parentd26ba51c1f4e0a1bcae5d1eab6d4eab1f80f707e
Add minimal testing of GC_MALLOC_[ATOMIC_]WORDS and GC_CONS (gctest)

* tests/test.c: Include "gc_inline.h" unconditionally.
* tests/test.c (test_tinyfl): New function (which invokes
GC_MALLOC_WORDS, GC_MALLOC_ATOMIC_WORDS and GC_CONS).
* tests/test.c (run_one_test): Call test_tinyfl.
tests/test.c