From 37e76bd36faa5164c069c80a6b90f6161ccb2abb 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 7f547cd5a..fdb2e99a6 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 \