mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-26 07:00:07 -05:00
build-sys: Build atomic-test only if pthread_setaffinity_np() is available
The function seems to be essential to the test, so the test has to be disabled entirely if pthread_setaffinity_np() is not available. Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/850
This commit is contained in:
parent
4d1e568619
commit
99db8038de
2 changed files with 9 additions and 3 deletions
|
|
@ -296,8 +296,7 @@ TESTS_norun = \
|
|||
sig2str-test \
|
||||
stripnul \
|
||||
echo-cancel-test \
|
||||
lo-latency-test \
|
||||
atomic-test
|
||||
lo-latency-test
|
||||
|
||||
# These tests need a running pulseaudio daemon
|
||||
TESTS_daemon = \
|
||||
|
|
@ -316,6 +315,11 @@ TESTS_default += \
|
|||
usergroup-test
|
||||
endif
|
||||
|
||||
if HAVE_PTHREAD_SETAFFINITY_NP
|
||||
TESTS_norun += \
|
||||
atomic-test
|
||||
endif
|
||||
|
||||
if HAVE_SYS_EVENTFD_H
|
||||
TESTS_default += \
|
||||
srbchannel-test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue