~ubuntu-branches/ubuntu/trusty/rhythmbox/trusty-proposed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
## Process this file with automake to produce Makefile.in

TESTS = 

LDADD = \
	$(CHECK_LIBS)						\
	$(top_builddir)/rhythmdb/librhythmdb.la 		\
	$(top_builddir)/metadata/librbmetadata.la		\
	$(top_builddir)/widgets/librbwidgets.la			\
	$(top_builddir)/podcast/librbpodcast.la			\
	$(top_builddir)/lib/librb.la				\
	$(RHYTHMBOX_LIBS)

test_utils = \
	test-utils.h						\
	test-utils.c

test_rhythmdb_SOURCES = \
	test-rhythmdb.c						\
	$(test_utils)

test_rhythmdb_query_model_SOURCES = \
	test-rhythmdb-query-model.c				\
	$(test_utils)

test_rhythmdb_property_model_SOURCES = \
	test-rhythmdb-property-model.c				\
	$(test_utils)

test_file_helpers_SOURCES = \
	test-file-helpers.c					\
	$(test_utils)

test_rb_lib_SOURCES = \
	test-rb-lib.c						\
	$(test_utils)

test_audioscrobbler_SOURCES = \
	test-audioscrobbler.c								\
	$(top_srcdir)/plugins/audioscrobbler/rb-audioscrobbler-entry.c			\
	$(top_srcdir)/plugins/audioscrobbler/rb-audioscrobbler-radio-track-entry-type.c	\
	$(test_utils)

test_widgets_SOURCES = \
	test-widgets.c						\
	$(test_utils)

bench_rhythmdb_load_SOURCES = bench-rhythmdb-load.c

INCLUDES = 							\
        -DGNOMELOCALEDIR=\""$(datadir)/locale"\"	        \
	-DG_LOG_DOMAIN=\"Rhythmbox-tests\"			\
	-I$(top_srcdir) 					\
	$(RHYTHMBOX_CFLAGS)					\
	-I$(top_srcdir)/lib					\
	-I$(top_srcdir)/metadata				\
	-I$(top_srcdir)/widgets					\
	-I$(top_srcdir)/rhythmdb				\
	-I$(top_srcdir)/podcast					\
	-I$(top_srcdir)/plugins/audioscrobbler			\
	-D_BSD_SOURCE

if HAVE_CHECK
TESTS += \
	test-rb-lib						\
	test-rhythmdb						\
	test-rhythmdb-query-model				\
	test-rhythmdb-property-model				\
	test-file-helpers					\
	test-audioscrobbler					\
	test-widgets
endif

OLD_TESTS = \
	test-rhythmdb-query.c					\
	test-rhythmdb-tree-serialization.c			\
	test-rhythmdb-view.c

noinst_PROGRAMS = \
		bench-rhythmdb-load				\
		$(TESTS)


EXTRA_DIST = 							\
	deserialization-test1.xml 				\
	deserialization-test2.xml 				\
	deserialization-test3.xml 				\
	podcast-upgrade.xml					\
	$(OLD_TESTS)