Commit af463a20 authored by Youness Alaoui's avatar Youness Alaoui

Move tests from agent and socket, into its own tests directory.. fixes issue...

Move tests from agent and socket, into its own tests directory.. fixes issue when doing make check before doing make all
parent 508ac5b4
...@@ -14,7 +14,8 @@ ALWAYS_SUBDIRS = \ ...@@ -14,7 +14,8 @@ ALWAYS_SUBDIRS = \
random \ random \
agent \ agent \
nice \ nice \
docs docs \
tests
SUBDIRS = $(ALWAYS_SUBDIRS) SUBDIRS = $(ALWAYS_SUBDIRS)
if WITH_GSTREAMER if WITH_GSTREAMER
......
...@@ -66,41 +66,4 @@ libagent_la_DEPENDENCIES = \ ...@@ -66,41 +66,4 @@ libagent_la_DEPENDENCIES = \
../socket/libsocket.la \ ../socket/libsocket.la \
../stun/libstun.la ../stun/libstun.la
check_PROGRAMS = \
test \
test-address \
test-add-remove-stream \
test-priority \
test-mainloop \
test-fullmode \
test-restart \
test-fallback \
test-thread
dist_check_SCRIPTS = \
check-test-fullmode-with-stun.sh
TESTS = $(check_PROGRAMS) $(dist_check_SCRIPTS)
test_LDADD = $(COMMON_LDADD)
test_address_LDADD = $(COMMON_LDADD)
test_add_remove_stream_LDADD = $(COMMON_LDADD)
test_priority_LDADD = $(COMMON_LDADD)
test_mainloop_LDADD = $(COMMON_LDADD)
test_fullmode_LDADD = $(COMMON_LDADD)
test_restart_LDADD = $(COMMON_LDADD)
test_fallback_LDADD = $(COMMON_LDADD)
test_thread_LDADD = $(COMMON_LDADD)
pkginclude_HEADERS = agent.h candidate.h debug.h address.h pkginclude_HEADERS = agent.h candidate.h debug.h address.h
all-local:
chmod a+x $(srcdir)/check-test-fullmode-with-stun.sh
...@@ -23,6 +23,7 @@ AC_CONFIG_FILES([ ...@@ -23,6 +23,7 @@ AC_CONFIG_FILES([
docs/Makefile docs/Makefile
docs/reference/Makefile docs/reference/Makefile
docs/reference/libnice/Makefile docs/reference/libnice/Makefile
tests/Makefile
]) ])
# Set the libtool C/A/R version info # Set the libtool C/A/R version info
......
...@@ -37,12 +37,6 @@ libsocket_la_SOURCES = \ ...@@ -37,12 +37,6 @@ libsocket_la_SOURCES = \
tcp-turn.h \ tcp-turn.h \
tcp-turn.c tcp-turn.c
check_PROGRAMS = test-bsd
test_bsd_LDADD = $(COMMON_LDADD)
TESTS = $(check_PROGRAMS)
pkginclude_HEADERS = socket.h udp-bsd.h tcp-bsd.h pseudossl.h turn.h tcp-turn.h socks5.h pkginclude_HEADERS = socket.h udp-bsd.h tcp-bsd.h pseudossl.h turn.h tcp-turn.h socks5.h
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment