[pulseaudio-discuss] [PATCH] osx: don't build the once-test binary on OS X

Daniel Mack zonque at gmail.com
Thu Sep 29 04:25:12 PDT 2011


From: Daniel Mack <daniel at caiaq.de>

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 files changed, 5 insertions(+), 1 deletions(-)

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 \
-- 
1.7.2



More information about the pulseaudio-discuss mailing list