]> granicus.if.org Git - gc/commit
Fix gctest failure for Darwin if CPPCHECK is defined
authorIvan Maidanski <ivmai@mail.ru>
Thu, 16 Mar 2017 22:10:41 +0000 (01:10 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 6 Apr 2017 07:35:04 +0000 (10:35 +0300)
commitbbe69aed33ce31faf986dba458b32969232b869c
treec435595472cfe41420ded44fdbd0e477a5065f71
parentf40fab825ca6ef0deb05db1f97a36d8200a1e3a6
Fix gctest failure for Darwin if CPPCHECK is defined
(fix commits c5d4ef9857bb8a)

* tests/test.c [TEST_FORK_WITHOUT_ATFORK] (NO_TEST_HANDLE_FORK):
Define even if CPPCHECK (i.e., CPPCHECK should not imply testing of
HANDLE_FORK).
* tests/test.c [GC_PTHREADS && CPPCHECK] (main): Remove duplicate check
for GC_PTHREADS.
* tests/test.c [GC_PTHREADS && CPPCHECK && NO_TEST_HANDLE_FORK] (main):
Call UNTESTED() for GC_atfork_child, GC_atfork_parent,
GC_atfork_prepare, GC_set_handle_fork, GC_start_mark_threads.
tests/test.c