fontconfig/test/Makefile.am

65 lines
1.6 KiB
Makefile
Raw Normal View History

2003-03-01 06:55:17 +01:00
check_SCRIPTS=run-test.sh
TEST_EXTENSIONS = \
.sh \
$(NULL)
AM_TESTS_ENVIRONMENT= \
src=${srcdir}; export src; \
EXEEXT=${EXEEXT}; export EXEEXT; \
$(NULL)
BUILT_SOURCES = out.expected
SH_LOG_COMPILER = sh
2003-03-01 06:55:17 +01:00
TESTS=run-test.sh
TESTDATA=4x6.pcf 8x16.pcf out.expected fonts.conf.in
if FREETYPE_PCF_LONG_FAMILY_NAMES
2017-12-14 07:42:22 +01:00
$(srcdir)/out.expected: $(srcdir)/out.expected-long-family-names
cp $(srcdir)/out.expected-long-family-names $(srcdir)/out.expected
else
2017-12-14 07:42:22 +01:00
$(srcdir)/out.expected: $(srcdir)/out.expected-no-long-family-names
cp $(srcdir)/out.expected-no-long-family-names $(srcdir)/out.expected
endif
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)
check_PROGRAMS =
if HAVE_PTHREAD
check_PROGRAMS += test-pthread
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
check_PROGRAMS += test-bz89617
test_bz89617_CFLAGS = \
-DSRCDIR="\"$(abs_srcdir)\""
test_bz89617_LDADD = $(top_builddir)/src/libfontconfig.la
TESTS += test-bz89617
2017-06-12 06:36:56 +02:00
check_PROGRAMS += test-bz131804
test_bz131804_LDADD = $(top_builddir)/src/libfontconfig.la
TESTS += test-bz131804
noinst_PROGRAMS = $(check_PROGRAMS)
if !OS_WIN32
check_PROGRAMS += test-migration
test_migration_LDADD = $(top_builddir)/src/libfontconfig.la
endif
check_PROGRAMS += test-bz96676
test_bz96676_LDADD = $(top_builddir)/src/libfontconfig.la
TESTS += test-bz96676
EXTRA_DIST=run-test.sh $(TESTDATA) out.expected-long-family-names out.expected-no-long-family-names
2017-12-18 03:53:25 +01:00
CLEANFILES=out fonts.conf
MAINTAINERCLEANFILES=out.expected
2012-10-06 23:52:39 +02:00
-include $(top_srcdir)/git.mk