1 check_SCRIPTS=run-test.sh
6 AM_TESTS_ENVIRONMENT= \
7 src=${srcdir}; export src; \
8 EXEEXT=${EXEEXT}; export EXEEXT; \
11 BUILT_SOURCES = $(builddir)/out.expected
20 test-90-synthetic.json \
23 if FREETYPE_PCF_LONG_FAMILY_NAMES
24 $(builddir)/out.expected: $(srcdir)/out.expected-long-family-names Makefile
25 cp $(srcdir)/out.expected-long-family-names $(builddir)/out.expected
27 $(builddir)/out.expected: $(srcdir)/out.expected-no-long-family-names Makefile
28 cp $(srcdir)/out.expected-no-long-family-names $(builddir)/out.expected
31 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
35 check_PROGRAMS += test-pthread
36 test_pthread_LDADD = $(top_builddir)/src/libfontconfig.la
37 # We don't enable this test by default because it will require config and fonts
38 # to meaningfully test anything, and we are not installed yet.
39 #TESTS += test-pthread
41 check_PROGRAMS += test-bz89617
42 test_bz89617_CFLAGS = \
43 -DSRCDIR="\"$(abs_srcdir)\""
45 test_bz89617_LDADD = $(top_builddir)/src/libfontconfig.la
48 check_PROGRAMS += test-bz131804
49 test_bz131804_LDADD = $(top_builddir)/src/libfontconfig.la
50 TESTS += test-bz131804
52 noinst_PROGRAMS = $(check_PROGRAMS)
55 check_PROGRAMS += test-migration
56 test_migration_LDADD = $(top_builddir)/src/libfontconfig.la
59 check_PROGRAMS += test-bz96676
60 test_bz96676_LDADD = $(top_builddir)/src/libfontconfig.la
63 check_PROGRAMS += test-name-parse
64 test_name_parse_LDADD = $(top_builddir)/src/libfontconfig.la
65 TESTS += test-name-parse
68 check_PROGRAMS += test-conf
69 test_conf_CFLAGS = $(JSONC_CFLAGS)
70 test_conf_LDADD = $(top_builddir)/src/libfontconfig.la $(JSONC_LIBS)
71 TESTS += run-test-conf.sh
74 check_PROGRAMS += test-bz106618
75 test_bz106618_LDADD = $(top_builddir)/src/libfontconfig.la
77 check_PROGRAMS += test-hash
78 test_hash_CFLAGS = -I$(top_builddir) -I$(top_builddir)/src $(UUID_CFLAGS)
79 test_hash_LDADD = $(UUID_LIBS)
82 check_PROGRAMS += test-bz106632
83 test_bz106632_CFLAGS = \
85 -I$(top_builddir)/src \
88 -DFONTFILE='"$(abs_top_srcdir)/test/4x6.pcf"' \
91 test_bz106632_LDADD = $(top_builddir)/src/libfontconfig.la
92 TESTS += test-bz106632
94 EXTRA_DIST=run-test.sh run-test-conf.sh $(TESTDATA) out.expected-long-family-names out.expected-no-long-family-names
96 CLEANFILES=out out1 out2 fonts.conf out.expected
98 -include $(top_srcdir)/git.mk