build-sys: Don't build srbchannel-test on targets without srbchannel

Reported-by: Felipe Sateler <fsateler@debian.org>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
David Henningsson 2014-12-02 09:22:47 +01:00
parent 13a3daa928
commit 580f468900
2 changed files with 6 additions and 1 deletions

View file

@ -288,11 +288,15 @@ TESTS_daemon = \
if !OS_IS_WIN32
TESTS_default += \
srbchannel-test \
sigbus-test \
usergroup-test
endif
if HAVE_SYS_EVENTFD_H
TESTS_default += \
srbchannel-test
endif
if !OS_IS_DARWIN
TESTS_default += \
once-test