From 537897594a5f05b3e516e2574760b83c9049560d Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Thu, 29 Sep 2016 01:30:42 +0300 Subject: [PATCH] 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. --- tests/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.c b/tests/test.c index 4e0280a..1261e9c 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; -- 2.7.4