2 noinst_LTLIBRARIES = libdata-test-utils.la
4 libdata_test_utils_la_SOURCES = \
9 libdata_test_utils_la_CPPFLAGS = \
13 -I$(top_srcdir)/addressbook \
14 -I$(top_builddir)/addressbook \
15 -I$(top_srcdir)/calendar \
16 -I$(top_builddir)/calendar \
17 -I$(top_srcdir)/tests/libedataserver \
18 -I$(top_builddir)/tests/libedataserver \
19 -I$(top_srcdir)/tests/test-server-utils \
20 -I$(top_builddir)/tests/test-server-utils \
21 -I$(top_srcdir)/private \
22 -I$(top_builddir)/private \
23 -DBACKENDDIR=\"$(ebook_backenddir)\" \
24 -DDATADIR=\"$(datadir)\" \
25 -DSRCDIR=\""$(abs_srcdir)"\" \
26 -DBUILDDIR=\""$(abs_topbuilddir)"\" \
27 $(EVOLUTION_ADDRESSBOOK_CFLAGS) \
32 libdata_test_utils_la_LIBADD = \
33 $(top_builddir)/addressbook/libebook-contacts/libebook-contacts-1.2.la \
34 $(top_builddir)/addressbook/libedata-book/libedata-book-1.2.la \
35 $(top_builddir)/addressbook/libebook/libebook-1.2.la \
36 $(top_builddir)/tests/test-server-utils/libetestserverutils.la \
37 $(top_builddir)/private/libedbus-private.la \
38 $(EVOLUTION_ADDRESSBOOK_LIBS) \
43 # Should be kept ordered approximately from least to most difficult/complex
45 # Note that these tests must be run in order:
46 # test-sqlite-cursor-posix-initial,
47 # test-sqlite-cursor-en-US-migrated,
48 # test-sqlite-cursor-posix-migrated
50 # This is because each migrated test changes the
51 # locale and reloads the same addressbook of the previous test.
53 test-sqlite-get-contact \
54 test-sqlite-create-cursor \
55 test-sqlite-cursor-move-by-posix \
56 test-sqlite-cursor-move-by-en-US \
57 test-sqlite-cursor-move-by-fr-CA \
58 test-sqlite-cursor-move-by-de-DE \
59 test-sqlite-cursor-set-target \
60 test-sqlite-cursor-calculate \
61 test-sqlite-cursor-set-sexp \
62 test-sqlite-cursor-posix-initial \
63 test-sqlite-cursor-en-US-migrated \
64 test-sqlite-cursor-fr-CA-migrated \
65 test-sqlite-cursor-de-DE-migrated \
66 test-sqlite-cursor-posix-migrated \
67 test-sqlite-cursor-change-locale
69 noinst_PROGRAMS = $(TESTS)
72 $(libdata_test_utils_la_CPPFLAGS) \
73 $(EVOLUTION_ADDRESSBOOK_CPPFLAGS) \
77 $(libdata_test_utils_la_LIBADD) \
78 libdata-test-utils.la \
79 $(top_builddir)/addressbook/libebook/libebook-1.2.la \
80 $(EVOLUTION_ADDRESSBOOK_LIBS) \
83 test_sqlite_get_contact_LDADD=$(TEST_LIBS)
84 test_sqlite_get_contact_CPPFLAGS=$(TEST_CPPFLAGS)
85 test_sqlite_create_cursor_LDADD=$(TEST_LIBS)
86 test_sqlite_create_cursor_CPPFLAGS=$(TEST_CPPFLAGS)
87 test_sqlite_cursor_move_by_posix_LDADD=$(TEST_LIBS)
88 test_sqlite_cursor_move_by_posix_CPPFLAGS=$(TEST_CPPFLAGS)
89 test_sqlite_cursor_move_by_en_US_LDADD=$(TEST_LIBS)
90 test_sqlite_cursor_move_by_en_US_CPPFLAGS=$(TEST_CPPFLAGS)
91 test_sqlite_cursor_move_by_fr_CA_LDADD=$(TEST_LIBS)
92 test_sqlite_cursor_move_by_fr_CA_CPPFLAGS=$(TEST_CPPFLAGS)
93 test_sqlite_cursor_move_by_de_DE_LDADD=$(TEST_LIBS)
94 test_sqlite_cursor_move_by_de_DE_CPPFLAGS=$(TEST_CPPFLAGS)
95 test_sqlite_cursor_set_target_LDADD=$(TEST_LIBS)
96 test_sqlite_cursor_set_target_CPPFLAGS=$(TEST_CPPFLAGS)
97 test_sqlite_cursor_calculate_LDADD=$(TEST_LIBS)
98 test_sqlite_cursor_calculate_CPPFLAGS=$(TEST_CPPFLAGS)
99 test_sqlite_cursor_set_sexp_LDADD=$(TEST_LIBS)
100 test_sqlite_cursor_set_sexp_CPPFLAGS=$(TEST_CPPFLAGS)
101 test_sqlite_cursor_posix_initial_LDADD=$(TEST_LIBS)
102 test_sqlite_cursor_posix_initial_CPPFLAGS=$(TEST_CPPFLAGS)
103 test_sqlite_cursor_en_US_migrated_LDADD=$(TEST_LIBS)
104 test_sqlite_cursor_en_US_migrated_CPPFLAGS=$(TEST_CPPFLAGS)
105 test_sqlite_cursor_fr_CA_migrated_LDADD=$(TEST_LIBS)
106 test_sqlite_cursor_fr_CA_migrated_CPPFLAGS=$(TEST_CPPFLAGS)
107 test_sqlite_cursor_de_DE_migrated_LDADD=$(TEST_LIBS)
108 test_sqlite_cursor_de_DE_migrated_CPPFLAGS=$(TEST_CPPFLAGS)
109 test_sqlite_cursor_posix_migrated_LDADD=$(TEST_LIBS)
110 test_sqlite_cursor_posix_migrated_CPPFLAGS=$(TEST_CPPFLAGS)
111 test_sqlite_cursor_change_locale_LDADD=$(TEST_LIBS)
112 test_sqlite_cursor_change_locale_CPPFLAGS=$(TEST_CPPFLAGS)
114 -include $(top_srcdir)/git.mk