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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Daniel Mack <daniel@xxxxxxxx>

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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux