Remove chown, chmod for fontconfig cache path
[platform/upstream/fontconfig.git] / test / Makefile.am
1 check_SCRIPTS=run-test.sh
2 TEST_EXTENSIONS = \
3         .sh \
4         $(NULL)
5
6 AM_TESTS_ENVIRONMENT= \
7         src=${srcdir}; export src; \
8         EXEEXT=${EXEEXT}; export EXEEXT; \
9         $(NULL)
10
11 SH_LOG_COMPILER = sh
12
13 TESTS=run-test.sh
14
15 TESTDATA=4x6.pcf 8x16.pcf out.expected fonts.conf.in
16
17 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
18
19 check_PROGRAMS =
20 if HAVE_PTHREAD
21 check_PROGRAMS += test-pthread
22 test_pthread_LDADD = $(top_builddir)/src/libfontconfig.la
23 # We don't enable this test by default because it will require config and fonts
24 # to meaningfully test anything, and we are not installed yet.
25 #TESTS += test-pthread
26 endif
27 check_PROGRAMS += test-bz89617
28 test_bz89617_CFLAGS = \
29         -DSRCDIR="\"$(abs_srcdir)\""
30
31 test_bz89617_LDADD = $(top_builddir)/src/libfontconfig.la
32 TESTS += test-bz89617
33
34 noinst_PROGRAMS = $(check_PROGRAMS)
35
36 if !OS_WIN32
37 check_PROGRAMS += test-migration
38 test_migration_LDADD = $(top_builddir)/src/libfontconfig.la
39 endif
40
41 check_PROGRAMS += test-bz96676
42 test_bz96676_LDADD = $(top_builddir)/src/libfontconfig.la
43 TESTS += test-bz96676
44
45 EXTRA_DIST=$(check_SCRIPTS) $(TESTDATA)
46
47 CLEANFILES=
48
49 -include $(top_srcdir)/git.mk