MT#55283 add test for Redis data

The test script already existed but was a dummy and wasn't used.

Change-Id: I18caeccd34054550688db38cd2e5262d681a3a58
pull/1611/head
Richard Fuchs 3 years ago
parent 1a05f8a373
commit e658052688

1
debian/control vendored

@ -38,6 +38,7 @@ Build-Depends:
libssl-dev (>= 1.0.1),
libswresample-dev (>= 6:10),
libsystemd-dev,
libtest2-suite-perl,
libwebsockets-dev,
libxmlrpc-core-c3-dev (>= 1.16.07),
libxtables-dev (>= 1.4) | iptables-dev (>= 1.4),

@ -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

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save