Commit eb70e706 authored by jehan's avatar jehan

add make test target

parent e67a8737
......@@ -47,3 +47,4 @@ mediastreamer2/src/videofilters/winvideods.c
mediastreamer2/src/videofilters/winvideo2.c
mediastreamer2/src/videofilters/x11video.c
mediastreamer2/src/voip/ice.c
build/vsx/LibLinphoneTester-wp8/LibLinphoneTester-wp8/Resources/AppResources.Designer.cs
EXTRA_DIST=pauline_rc laure_rc marie_rc marie_no_sdp_rc
EXTRA_DIST= empty_rc laure_rc marie_early_rc marie_no_sdp_rc marie_rc multi_account_lrc pauline_alt_rc \
pauline_rc pauline_wild_rc tester_hosts sounds images certificates
if BUILD_CUNIT_TESTS
noinst_PROGRAMS=liblinphone_tester
TESTS=$(noinst_PROGRAMS)
liblinphone_tester_SOURCES= liblinphone_tester.c liblinphone_tester.h\
setup_tester.c \
......@@ -29,4 +29,12 @@ AM_LDFLAGS=$(CUNIT_LIBS)
AM_CFLAGS=$(STRICT_OPTIONS) -DIN_LINPHONE $(ORTP_CFLAGS) $(MEDIASTREAMER_CFLAGS) $(CUNIT_CFLAGS)
test: liblinphone_tester
./liblinphone_tester --config $(abs_srcdir)
else
test:
@echo "CUnit must be installed to be able to run the tests!"
endif
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