blob: b6be6b5ad530f4c8c64fbdcbb7151be33be6b122 (
plain)
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
|
@CODE_COVERAGE_RULES@
AM_CPPFLAGS = \
-I$(top_srcdir) \
$(WARN_CFLAGS) \
$(DEP_CFLAGS)
AM_LDFLAGS = $(WARN_LDFLAGS)
LDADD = $(top_builddir)/gspell/libgspell-core.la \
$(DEP_LIBS)
noinst_PROGRAMS = $(UNIT_TEST_PROGS)
TESTS = $(UNIT_TEST_PROGS)
UNIT_TEST_PROGS =
UNIT_TEST_PROGS += test-checker
test_checker_SOURCES = test-checker.c
UNIT_TEST_PROGS += test-inline-checker-text-buffer
test_inline_checker_text_buffer_SOURCES = test-inline-checker-text-buffer.c
UNIT_TEST_PROGS += test-text-iter
test_text_iter_SOURCES = test-text-iter.c
UNIT_TEST_PROGS += test-utils
test_utils_SOURCES = test-utils.c
if INSTALLED_TESTS
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)-@GSPELL_API_VERSION@
insttest_PROGRAMS = $(UNIT_TEST_PROGS)
%.test: %$(EXEEXT) Makefile
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
echo 'Description=gspell test' >> $@.tmp; \
echo 'Exec=$(insttestdir)/$<' >> $@.tmp; \
echo 'Type=session' >> $@.tmp; \
echo 'Output=TAP' >> $@.tmp; \
mv $@.tmp $@)
test_files = $(UNIT_TEST_PROGS:=.test)
DISTCLEANFILES = $(test_files)
testmetadir = $(datadir)/installed-tests/$(PACKAGE)-@GSPELL_API_VERSION@
testmeta_DATA = $(test_files)
endif # INSTALLED_TESTS
-include $(top_srcdir)/git.mk
|