linphone-iphone/tester/Makefile.am
Simon Morlat 16180e2430 change the way payload type numbers are assigned, so that an application can support more payload type than the RTP profile table allows to contain.
Compliance with RFC3264 (offer answer model) is improved, by reusing numbers in case of reINVITEs.
Fix memory leaks
Move offer/answer related tests into a new test suite.
2015-01-21 22:38:46 +01:00

56 lines
1.5 KiB
Makefile

EXTRA_DIST= tester_hosts sounds images certificates rcfiles
if BUILD_CUNIT_TESTS
# there are 2 targets: liblinphonetester.la and the executable liblinphone_tester
liblinphonedir = $(includedir)/linphone
liblinphone_HEADERS = liblinphone_tester.h
lib_LTLIBRARIES = liblinphonetester.la
liblinphonetester_la_SOURCES = tester.c \
setup_tester.c \
register_tester.c \
message_tester.c \
call_tester.c \
presence_tester.c \
upnp_tester.c \
eventapi_tester.c \
flexisip_tester.c \
stun_tester.c \
remote_provisioning_tester.c \
quality_reporting_tester.c \
log_collection_tester.c \
transport_tester.c \
player_tester.c \
dtmf_tester.c \
accountmanager.c \
offeranswer_tester.c
liblinphonetester_la_LDFLAGS= -no-undefined
liblinphonetester_la_LIBADD= ../coreapi/liblinphone.la $(CUNIT_LIBS)
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/coreapi
AM_CFLAGS = $(STRICT_OPTIONS) $(STRICT_OPTIONS_CC) -DIN_LINPHONE $(ORTP_CFLAGS) $(MEDIASTREAMER_CFLAGS) $(CUNIT_CFLAGS) $(BELLESIP_CFLAGS) $(LIBXML2_CFLAGS) $(SQLITE3_CFLAGS)
if !BUILD_IOS
noinst_PROGRAMS = liblinphone_tester
liblinphone_tester_SOURCES = liblinphone_tester.c
liblinphone_tester_LDADD = $(top_builddir)/coreapi/liblinphone.la liblinphonetester.la -lm
endif
test: liblinphone_tester
./liblinphone_tester --config $(abs_srcdir) $(TEST_OPTIONS)
else !BUILD_CUNIT_TESTS
test:
@echo "CUnit must be installed to be able to run the tests!"
endif !BUILD_CUNIT_TESTS