2017-08-19 04:11:04 -06:00
|
|
|
if FREETYPE_PCF_LONG_FAMILY_NAMES
|
|
|
|
check_SCRIPTS=run-test271.sh
|
|
|
|
else
|
2013-03-09 06:33:45 -07:00
|
|
|
check_SCRIPTS=run-test.sh
|
2017-08-19 04:11:04 -06:00
|
|
|
endif
|
2014-05-18 04:33:03 -06:00
|
|
|
TEST_EXTENSIONS = \
|
|
|
|
.sh \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
AM_TESTS_ENVIRONMENT= \
|
|
|
|
src=${srcdir}; export src; \
|
|
|
|
EXEEXT=${EXEEXT}; export EXEEXT; \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
SH_LOG_COMPILER = sh
|
|
|
|
|
2017-08-19 04:11:04 -06:00
|
|
|
if FREETYPE_PCF_LONG_FAMILY_NAMES
|
|
|
|
TESTS=run-test271.sh
|
|
|
|
else
|
2013-03-09 06:33:45 -07:00
|
|
|
TESTS=run-test.sh
|
2017-08-19 04:11:04 -06:00
|
|
|
endif
|
2013-03-09 06:33:45 -07:00
|
|
|
|
2017-08-19 04:11:04 -06:00
|
|
|
TESTDATA=4x6.pcf 8x16.pcf out.expected out271.expected fonts.conf.in
|
2013-03-09 06:33:45 -07:00
|
|
|
|
2014-05-18 04:33:03 -06:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
|
|
|
|
|
|
|
|
check_PROGRAMS =
|
2013-03-09 06:33:45 -07:00
|
|
|
if HAVE_PTHREAD
|
2014-05-18 04:33:03 -06:00
|
|
|
check_PROGRAMS += test-pthread
|
2013-03-09 06:33:45 -07:00
|
|
|
test_pthread_LDADD = $(top_builddir)/src/libfontconfig.la
|
|
|
|
# We don't enable this test by default because it will require config and fonts
|
|
|
|
# to meaningfully test anything, and we are not installed yet.
|
|
|
|
#TESTS += test-pthread
|
|
|
|
endif
|
2016-08-09 12:57:41 -06:00
|
|
|
check_PROGRAMS += test-bz89617
|
|
|
|
test_bz89617_CFLAGS = \
|
|
|
|
-DSRCDIR="\"$(abs_srcdir)\""
|
|
|
|
|
|
|
|
test_bz89617_LDADD = $(top_builddir)/src/libfontconfig.la
|
|
|
|
TESTS += test-bz89617
|
|
|
|
|
2017-08-19 04:11:04 -06:00
|
|
|
check_PROGRAMS += test-bz131804
|
|
|
|
test_bz131804_LDADD = $(top_builddir)/src/libfontconfig.la
|
|
|
|
TESTS += test-bz131804
|
|
|
|
|
2014-05-18 04:33:03 -06:00
|
|
|
noinst_PROGRAMS = $(check_PROGRAMS)
|
|
|
|
|
|
|
|
if !OS_WIN32
|
|
|
|
check_PROGRAMS += test-migration
|
|
|
|
test_migration_LDADD = $(top_builddir)/src/libfontconfig.la
|
|
|
|
endif
|
2013-03-09 06:33:45 -07:00
|
|
|
|
2016-08-09 12:57:41 -06:00
|
|
|
check_PROGRAMS += test-bz96676
|
|
|
|
test_bz96676_LDADD = $(top_builddir)/src/libfontconfig.la
|
|
|
|
TESTS += test-bz96676
|
|
|
|
|
2017-08-19 04:11:04 -06:00
|
|
|
EXTRA_DIST=run-test.sh run-test271.sh $(TESTDATA)
|
2013-03-09 06:33:45 -07:00
|
|
|
|
|
|
|
CLEANFILES=
|
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|