Added m4/eds-installed-tests.m4 with the EDS_INSTALLED_TESTS macro
[platform/upstream/evolution-data-server.git] / tests / libebook / client / Makefile.am
1 noinst_LTLIBRARIES = libclient-test-utils.la
2
3 libclient_test_utils_la_SOURCES = \
4         client-test-utils.c \
5         client-test-utils.h \
6         $(NULL)
7
8 libclient_test_utils_la_CPPFLAGS = \
9         $(AM_CPPFLAGS) \
10         -I$(top_srcdir) \
11         -I$(top_builddir) \
12         -I$(top_srcdir)/addressbook \
13         -I$(top_builddir)/addressbook \
14         -I$(top_srcdir)/calendar \
15         -I$(top_builddir)/calendar \
16         -I$(top_srcdir)/tests/test-server-utils \
17         -I$(top_builddir)/tests/test-server-utils \
18         -I$(top_srcdir)/private \
19         -I$(top_builddir)/private \
20         -DSRCDIR=\""$(abs_srcdir)"\" \
21         $(EVOLUTION_ADDRESSBOOK_CFLAGS) \
22         $(EVOLUTION_CALENDAR_CFLAGS) \
23         $(CAMEL_CFLAGS) \
24         $(NULL)
25
26 libclient_test_utils_la_LIBADD = \
27         $(top_builddir)/addressbook/libebook/libebook-1.2.la \
28         $(top_builddir)/tests/test-server-utils/libetestserverutils.la \
29         $(top_builddir)/private/libedbus-private.la \
30         $(EVOLUTION_ADDRESSBOOK_LIBS) \
31         $(EVOLUTION_CALENDAR_LIBS) \
32         $(CAMEL_LIBS) \
33         $(NULL)
34
35 # Should be kept ordered approximately from least to most difficult/complex
36 TESTS = \
37         test-client-refresh \
38         test-client-add-contact \
39         test-client-get-contact \
40         test-client-get-contact-uids \
41         test-client-modify-contact \
42         test-client-remove-contact \
43         test-client-remove-contact-by-uid \
44         test-client-remove-contacts \
45         test-client-add-and-get-sync \
46         test-client-add-and-get-async \
47         test-client-self \
48         test-client-preserve-uid \
49         test-client-photo-is-uri \
50         test-client-e164-param \
51         test-client-custom-summary \
52         test-client-get-revision \
53         test-client-write-write \
54         test-client-get-view \
55         test-client-uid-only-view \
56         test-client-revision-view \
57         test-client-view-operations \
58         test-client-suppress-notifications \
59         test-client-cursor-create \
60         test-client-cursor-operations \
61         $(NULL)
62
63 # The noinst tests are functional tests, not unit tests.
64 #
65 # Either they were designed as functional tests or have
66 # not been ported to use ETestServerFixture yet.
67 noinst_PROGRAMS = $(TESTS)
68
69 TEST_CPPFLAGS = \
70         $(libclient_test_utils_la_CPPFLAGS) \
71         $(EVOLUTION_ADDRESSBOOK_CPPFLAGS) \
72         $(NULL)
73
74 TEST_LIBS = \
75         $(libclient_test_utils_la_LIBADD) \
76         libclient-test-utils.la \
77         $(top_builddir)/addressbook/libebook/libebook-1.2.la \
78         $(EVOLUTION_ADDRESSBOOK_LIBS) \
79         $(NULL)
80
81 test_client_add_and_get_sync_LDADD=$(TEST_LIBS)
82 test_client_add_and_get_sync_CPPFLAGS=$(TEST_CPPFLAGS)
83 test_client_add_and_get_async_LDADD=$(TEST_LIBS)
84 test_client_add_and_get_async_CPPFLAGS=$(TEST_CPPFLAGS)
85 test_client_add_contact_LDADD=$(TEST_LIBS)
86 test_client_add_contact_CPPFLAGS=$(TEST_CPPFLAGS)
87 test_client_preserve_uid_LDADD=$(TEST_LIBS)
88 test_client_preserve_uid_CPPFLAGS=$(TEST_CPPFLAGS)
89 test_client_get_contact_LDADD=$(TEST_LIBS)
90 test_client_get_contact_CPPFLAGS=$(TEST_CPPFLAGS)
91 test_client_get_contact_uids_LDADD=$(TEST_LIBS)
92 test_client_get_contact_uids_CPPFLAGS=$(TEST_CPPFLAGS)
93 test_client_e164_param_LDADD=$(TEST_LIBS)
94 test_client_e164_param_CPPFLAGS=$(TEST_CPPFLAGS)
95 test_client_custom_summary_LDADD=$(TEST_LIBS)
96 test_client_custom_summary_CPPFLAGS=$(TEST_CPPFLAGS)
97 test_client_get_revision_LDADD=$(TEST_LIBS)
98 test_client_get_revision_CPPFLAGS=$(TEST_CPPFLAGS)
99 test_client_get_view_LDADD=$(TEST_LIBS)
100 test_client_get_view_CPPFLAGS=$(TEST_CPPFLAGS)
101 test_client_uid_only_view_LDADD=$(TEST_LIBS)
102 test_client_uid_only_view_CPPFLAGS=$(TEST_CPPFLAGS)
103 test_client_revision_view_LDADD=$(TEST_LIBS)
104 test_client_revision_view_CPPFLAGS=$(TEST_CPPFLAGS)
105 test_client_view_operations_LDADD=$(TEST_LIBS)
106 test_client_view_operations_CPPFLAGS=$(TEST_CPPFLAGS)
107 test_client_suppress_notifications_LDADD=$(TEST_LIBS)
108 test_client_suppress_notifications_CPPFLAGS=$(TEST_CPPFLAGS)
109 test_client_modify_contact_LDADD=$(TEST_LIBS)
110 test_client_modify_contact_CPPFLAGS=$(TEST_CPPFLAGS)
111 test_client_refresh_LDADD=$(TEST_LIBS)
112 test_client_refresh_CPPFLAGS=$(TEST_CPPFLAGS)
113 test_client_remove_contact_LDADD=$(TEST_LIBS)
114 test_client_remove_contact_CPPFLAGS=$(TEST_CPPFLAGS)
115 test_client_remove_contact_by_uid_LDADD=$(TEST_LIBS)
116 test_client_remove_contact_by_uid_CPPFLAGS=$(TEST_CPPFLAGS)
117 test_client_remove_contacts_LDADD=$(TEST_LIBS)
118 test_client_remove_contacts_CPPFLAGS=$(TEST_CPPFLAGS)
119 test_client_photo_is_uri_LDADD=$(TEST_LIBS)
120 test_client_photo_is_uri_CPPFLAGS=$(TEST_CPPFLAGS)
121 test_client_write_write_LDADD=$(TEST_LIBS)
122 test_client_write_write_CPPFLAGS=$(TEST_CPPFLAGS)
123 test_client_self_LDADD=$(TEST_LIBS)
124 test_client_self_CPPFLAGS=$(TEST_CPPFLAGS)
125 test_client_cursor_create_LDADD=$(TEST_LIBS)
126 test_client_cursor_create_CPPFLAGS=$(TEST_CPPFLAGS)
127 test_client_cursor_operations_LDADD=$(TEST_LIBS)
128 test_client_cursor_operations_CPPFLAGS=$(TEST_CPPFLAGS)
129
130 -include $(top_srcdir)/git.mk