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>
Thu, 22 Dec 2016 22:07:41 +0000 (01:07 +0300)
commit5ee0400151166217efd662ce432bd2666957b7bf
tree98f2f5ee41470d48d9caf8cc1f8a5333d5b14910
parent7eacc786662545d3e302d006ba09ca8a9a631b7b
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