mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 03:58:08 +00:00
add make test target
This commit is contained in:
parent
e67a8737dd
commit
eb70e7067b
2 changed files with 11 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue