From: Ivan Maidanski Date: Wed, 28 Sep 2016 22:30:42 +0000 (+0300) Subject: Skip thread suspend/resume API testing for Tru64 (OSF1) X-Git-Tag: v8.0.0~1131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=537897594a5f05b3e516e2574760b83c9049560d;p=gc Skip thread suspend/resume API testing for Tru64 (OSF1) (fix commit 8ff3262) OSF1 has GC_retry_signals on by default but this is not supported by thread suspend/resume API yet. * tests/test.c [GC_PTHREADS && GC_ENABLE_SUSPEND_THREAD] (fork_a_thread): Do not test GC_suspend/resume_thread if GC_OSF1_THREADS. --- diff --git a/tests/test.c b/tests/test.c index 4e0280af..1261e9c9 100644 --- a/tests/test.c +++ b/tests/test.c @@ -534,7 +534,7 @@ void check_marks_int_list(sexpr x) } # if defined(GC_ENABLE_SUSPEND_THREAD) && !defined(GC_DARWIN_THREADS) \ && !defined(GC_OPENBSD_UTHREADS) && !defined(GC_WIN32_THREADS) \ - && !defined(NACL) + && !defined(NACL) && !defined(GC_OSF1_THREADS) if (GC_is_thread_suspended(t)) { GC_printf("Running thread should be not suspended\n"); FAIL;