mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-22 06:59:54 -05:00
tests: enable to test standalone pulseaudio daemon
With this fix, `check-daemon` doesn't need a system-wide running pulseaudio anymore. The method to use is to invoke `make check-daemon` under `src/` and it just works! :)
This commit is contained in:
parent
89a6fd740f
commit
84ffc41bfb
2 changed files with 73 additions and 3 deletions
|
|
@ -303,11 +303,11 @@ TESTS = $(TESTS_default)
|
|||
if BUILD_TESTS_DEFAULT
|
||||
noinst_PROGRAMS = $(TESTS_default) $(TESTS_norun) $(TESTS_daemon)
|
||||
else
|
||||
check_PROGRAMS = $(TESTS_default) $(TESTS_norun) $(TESTS_daemon)
|
||||
check_PROGRAMS = $(TESTS_default) $(TESTS_norun)
|
||||
endif
|
||||
|
||||
check-daemon:
|
||||
$(MAKE) check TESTS="$(TESTS_daemon)"
|
||||
check-daemon: $(TESTS_daemon)
|
||||
PATH=$(builddir):${PATH} $(top_srcdir)/src/tests/test-daemon.sh $(TESTS_daemon)
|
||||
|
||||
mainloop_test_SOURCES = tests/mainloop-test.c
|
||||
mainloop_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue