do not build test-migration for Win32
[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 noinst_PROGRAMS = $(check_PROGRAMS)
28
29 if !OS_WIN32
30 check_PROGRAMS += test-migration
31 test_migration_LDADD = $(top_builddir)/src/libfontconfig.la
32 endif
33
34 EXTRA_DIST=$(check_SCRIPTS) $(TESTDATA)
35
36 CLEANFILES=
37
38 -include $(top_srcdir)/git.mk