X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Makefile.am;h=9beeafa453a8a548d593877d355c3ec92532b447;hb=e8813276642b47757b78ad37703b5a069df4302f;hp=eff91c353415956c27f1ec04e3aca337c672da0b;hpb=9ffc6095b27c4181ade4374e8ee96330c07ac88a;p=profile%2Fivi%2FGUPnP-AV.git diff --git a/Makefile.am b/Makefile.am index eff91c3..9beeafa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,40 @@ -SUBDIRS = libgupnp-av tests doc vala data +TESTS_ENVIRONMENT = G_SLICE=debug-blocks \ + LD_LIBRARY_PATH=$(top_builddir)/libgupnp-av/.libs:$(LD_LIBRARY_PATH) \ + GUPNP_AV_DATADIR=$(top_srcdir)/data -pkgconfig_DATA= gupnp-av-1.0.pc -pkgconfigdir = $(libdir)/pkgconfig +TESTS=$(check_PROGRAMS) -ACLOCAL_AMFLAGS=-I m4 ${ACLOCAL_FLAGS} +check_PROGRAMS = \ + test-regression \ + test-media-collection \ + test-last-change-parser \ + test-cds-last-change-parser -DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection +test_regression_SOURCES = test-regression.c -# Extra clean files so that maintainer-clean removes *everything* -MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp install-sh ltmain.sh Makefile.in missing config.h.in +test_media_collection_SOURCES = \ + test-media-collection.c + +test_last_change_parser_SOURCES = \ + test-last-change-parser.c + +test_cds_last_change_parser_SOURCES = \ + test-cds-last-change-parser.c + +LDADD = \ + $(top_builddir)/libgupnp-av/libgupnp-av-1.0.la \ + $(LIBGUPNP_LIBS) + +AM_CFLAGS = \ + $(LIBGUPNP_CFLAGS) \ + -I $(top_srcdir) \ + -DDATA_PATH="\"$(srcdir)\"" + +EXTRA_DIST = data/cds-last-change/00-cds-last-change.xml \ + data/cds-last-change/01-cds-last-change.xml \ + data/cds-last-change/02-cds-last-change.xml \ + data/cds-last-change/03-cds-last-change.xml \ + data/cds-last-change/04-cds-last-change.xml \ + data/cds-last-change/05-cds-last-change.xml \ + data/cds-last-change/06-cds-last-change.xml \ + data/cds-last-change/07-cds-last-change.xml