1 noinst_LTLIBRARIES = libdata-test-utils.la
3 libdata_test_utils_la_SOURCES = \
8 libdata_test_utils_la_CPPFLAGS = \
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/libedataserver \
17 -I$(top_builddir)/tests/libedataserver \
18 -I$(top_srcdir)/tests/test-server-utils \
19 -I$(top_builddir)/tests/test-server-utils \
20 -DBACKENDDIR=\"$(ebook_backenddir)\" \
21 -DDATADIR=\"$(datadir)\" \
22 -DSRCDIR=\""$(abs_srcdir)"\" \
23 -DBUILDDIR=\""$(abs_topbuilddir)"\" \
24 $(EVOLUTION_ADDRESSBOOK_CFLAGS) \
28 libdata_test_utils_la_LIBADD = \
29 $(top_builddir)/addressbook/libebook-contacts/libebook-contacts-1.2.la \
30 $(top_builddir)/addressbook/libedata-book/libedata-book-1.2.la \
31 $(top_builddir)/addressbook/libebook/libebook-1.2.la \
32 $(top_builddir)/tests/test-server-utils/libetestserverutils.la \
33 $(EVOLUTION_ADDRESSBOOK_LIBS) \
37 # Should be kept ordered approximately from least to most difficult/complex
39 # Note that these tests must be run in order:
40 # test-sqlite-cursor-posix-initial,
41 # test-sqlite-cursor-en-US-migrated,
42 # test-sqlite-cursor-posix-migrated
44 # This is because each migrated test changes the
45 # locale and reloads the same addressbook of the previous test.
47 test-sqlite-get-contact \
48 test-sqlite-create-cursor \
49 test-sqlite-cursor-move-by \
50 test-sqlite-cursor-set-target \
51 test-sqlite-cursor-calculate \
52 test-sqlite-cursor-set-sexp \
53 test-sqlite-cursor-posix-initial \
54 test-sqlite-cursor-en-US-migrated \
55 test-sqlite-cursor-posix-migrated
59 noinst_PROGRAMS = $(TESTS)
62 $(libdata_test_utils_la_CPPFLAGS) \
63 $(EVOLUTION_ADDRESSBOOK_CPPFLAGS) \
67 $(libdata_test_utils_la_LIBADD) \
68 libdata-test-utils.la \
69 $(top_builddir)/addressbook/libebook/libebook-1.2.la \
70 $(EVOLUTION_ADDRESSBOOK_LIBS) \
73 test_sqlite_get_contact_LDADD=$(TEST_LIBS)
74 test_sqlite_get_contact_CPPFLAGS=$(TEST_CPPFLAGS)
75 test_sqlite_create_cursor_LDADD=$(TEST_LIBS)
76 test_sqlite_create_cursor_CPPFLAGS=$(TEST_CPPFLAGS)
77 test_sqlite_cursor_move_by_LDADD=$(TEST_LIBS)
78 test_sqlite_cursor_move_by_CPPFLAGS=$(TEST_CPPFLAGS)
79 test_sqlite_cursor_set_target_LDADD=$(TEST_LIBS)
80 test_sqlite_cursor_set_target_CPPFLAGS=$(TEST_CPPFLAGS)
81 test_sqlite_cursor_calculate_LDADD=$(TEST_LIBS)
82 test_sqlite_cursor_calculate_CPPFLAGS=$(TEST_CPPFLAGS)
83 test_sqlite_cursor_set_sexp_LDADD=$(TEST_LIBS)
84 test_sqlite_cursor_set_sexp_CPPFLAGS=$(TEST_CPPFLAGS)
85 test_sqlite_cursor_posix_initial_LDADD=$(TEST_LIBS)
86 test_sqlite_cursor_posix_initial_CPPFLAGS=$(TEST_CPPFLAGS)
87 test_sqlite_cursor_en_US_migrated_LDADD=$(TEST_LIBS)
88 test_sqlite_cursor_en_US_migrated_CPPFLAGS=$(TEST_CPPFLAGS)
89 test_sqlite_cursor_posix_migrated_LDADD=$(TEST_LIBS)
90 test_sqlite_cursor_posix_migrated_CPPFLAGS=$(TEST_CPPFLAGS)
92 -include $(top_srcdir)/git.mk