From 0f363d252c23142644f311387a2de5f063c34312 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Thu, 29 Sep 2011 13:25:12 +0200 Subject: [PATCH] osx: don't build the once-test binary on OS X This patch was already added earlier with commit ID 2f86ba4f, but the changes got reverted by commit 3adc43b ("win32: Make once-test work"). However, this still doesn't work on OSX as here, pthread is in general available, but the barrier APIs aren't. --- src/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 7f547cd..fdb2e99 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -244,7 +244,6 @@ TESTS = \ TESTS_norun = \ mcalign-test \ - once-test \ pacat-simple \ parec-simple \ extended-test \ @@ -262,6 +261,11 @@ TESTS += \ usergroup-test endif +if !OS_IS_DARWIN +TESTS_norun += \ + once-test +endif + if HAVE_SIGXCPU TESTS_norun += \ cpulimit-test \ -- 2.7.4