From eb70e7067b81a0f895714daabdee80dc1eee7ed2 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Thu, 5 Dec 2013 16:47:36 +0100 Subject: [PATCH] add make test target --- po/POTFILES.skip | 1 + tester/Makefile.am | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/po/POTFILES.skip b/po/POTFILES.skip index e254f124a..6b9ad1b55 100755 --- a/po/POTFILES.skip +++ b/po/POTFILES.skip @@ -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 diff --git a/tester/Makefile.am b/tester/Makefile.am index b501f15fb..e81c85d97 100644 --- a/tester/Makefile.am +++ b/tester/Makefile.am @@ -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