|
|
|
|
@ -91,7 +91,7 @@ include ../lib/common.Makefile
|
|
|
|
|
.PHONY: all-tests unit-tests daemon-tests daemon-tests \
|
|
|
|
|
daemon-tests-main daemon-tests-jb daemon-tests-dtx daemon-tests-dtx-cn daemon-tests-pubsub \
|
|
|
|
|
daemon-tests-intfs daemon-tests-stats daemon-tests-delay-buffer daemon-tests-delay-timing \
|
|
|
|
|
daemon-tests-evs daemon-tests-player-cache
|
|
|
|
|
daemon-tests-evs daemon-tests-player-cache daemon-tests-redis
|
|
|
|
|
|
|
|
|
|
TESTS= test-bitstr aes-crypt aead-aes-crypt test-const_str_hash.strhash
|
|
|
|
|
ifeq ($(with_transcoding),yes)
|
|
|
|
|
@ -127,7 +127,7 @@ unit-tests: $(TESTS)
|
|
|
|
|
|
|
|
|
|
daemon-tests: daemon-tests-main daemon-tests-jb daemon-tests-pubsub daemon-tests-websocket \
|
|
|
|
|
daemon-tests-evs \
|
|
|
|
|
daemon-tests-intfs daemon-tests-stats daemon-tests-player-cache
|
|
|
|
|
daemon-tests-intfs daemon-tests-stats daemon-tests-player-cache daemon-tests-redis
|
|
|
|
|
|
|
|
|
|
daemon-test-deps: tests-preload.so
|
|
|
|
|
$(MAKE) -C ../daemon
|
|
|
|
|
@ -228,6 +228,14 @@ daemon-tests-player-cache: daemon-test-deps
|
|
|
|
|
test "$$(ls fake-$@-sockets)" = ""
|
|
|
|
|
rmdir fake-$@-sockets
|
|
|
|
|
|
|
|
|
|
daemon-tests-redis: daemon-test-deps
|
|
|
|
|
rm -rf fake-$@-sockets
|
|
|
|
|
mkdir fake-$@-sockets
|
|
|
|
|
LD_PRELOAD=../t/tests-preload.so RTPE_BIN=../daemon/rtpengine TEST_SOCKET_PATH=./fake-$@-sockets \
|
|
|
|
|
perl -I../perl auto-daemon-tests-redis.pl
|
|
|
|
|
test "$$(ls fake-$@-sockets)" = ""
|
|
|
|
|
rmdir fake-$@-sockets
|
|
|
|
|
|
|
|
|
|
test-bitstr: test-bitstr.o
|
|
|
|
|
|
|
|
|
|
spandsp_send_fax_pcm: spandsp_send_fax_pcm.o
|
|
|
|
|
|