2017-05-31 11:25:01 +02:00
|
|
|
if FREETYPE_PCF_LONG_FAMILY_NAMES
|
|
|
|
check_SCRIPTS=run-test271.sh
|
|
|
|
else
|
2003-03-01 06:55:17 +01:00
|
|
|
check_SCRIPTS=run-test.sh
|
2017-05-31 11:25:01 +02:00
|
|
|
endif
|
2013-02-02 17:01:07 +01:00
|
|
|
TEST_EXTENSIONS = \
|
|
|
|
.sh \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
AM_TESTS_ENVIRONMENT= \
|
|
|
|
src=${srcdir}; export src; \
|
|
|
|
EXEEXT=${EXEEXT}; export EXEEXT; \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
SH_LOG_COMPILER = sh
|
|
|
|
|
2017-05-31 11:25:01 +02:00
|
|
|
if FREETYPE_PCF_LONG_FAMILY_NAMES
|
2017-03-21 04:25:45 +01:00
|
|
|
TESTS=run-test271.sh
|
|
|
|
else
|
2003-03-01 06:55:17 +01:00
|
|
|
TESTS=run-test.sh
|
2017-03-21 04:25:45 +01:00
|
|
|
endif
|
2003-03-01 06:55:17 +01:00
|
|
|
|
2017-05-31 11:25:01 +02:00
|
|
|
TESTDATA=4x6.pcf 8x16.pcf out.expected out271.expected fonts.conf.in
|
2003-03-02 08:28:24 +01:00
|
|
|
|
2013-01-10 16:01:52 +01:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
|
|
|
|
|
2013-10-11 12:31:22 +02:00
|
|
|
check_PROGRAMS =
|
2013-01-08 21:51:00 +01:00
|
|
|
if HAVE_PTHREAD
|
2013-09-02 13:52:20 +02:00
|
|
|
check_PROGRAMS += test-pthread
|
2013-01-08 21:51:00 +01: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
|
2015-03-23 05:30:59 +01:00
|
|
|
check_PROGRAMS += test-bz89617
|
|
|
|
test_bz89617_CFLAGS = \
|
|
|
|
-DSRCDIR="\"$(abs_srcdir)\""
|
|
|
|
|
|
|
|
test_bz89617_LDADD = $(top_builddir)/src/libfontconfig.la
|
|
|
|
TESTS += test-bz89617
|
|
|
|
|
2013-09-02 13:52:20 +02:00
|
|
|
noinst_PROGRAMS = $(check_PROGRAMS)
|
|
|
|
|
2013-10-11 12:31:22 +02:00
|
|
|
if !OS_WIN32
|
|
|
|
check_PROGRAMS += test-migration
|
2013-09-02 13:52:20 +02:00
|
|
|
test_migration_LDADD = $(top_builddir)/src/libfontconfig.la
|
2013-10-11 12:31:22 +02:00
|
|
|
endif
|
2013-01-08 21:51:00 +01:00
|
|
|
|
2016-07-08 07:16:49 +02:00
|
|
|
check_PROGRAMS += test-bz96676
|
|
|
|
test_bz96676_LDADD = $(top_builddir)/src/libfontconfig.la
|
|
|
|
TESTS += test-bz96676
|
|
|
|
|
2017-05-31 11:25:01 +02:00
|
|
|
EXTRA_DIST=run-test.sh run-test271.sh $(TESTDATA)
|
2003-10-27 11:44:13 +01:00
|
|
|
|
|
|
|
CLEANFILES=
|
2012-10-06 23:52:39 +02:00
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|