Use LOG_COMPILER and AM_TESTS_ENVIRONMENT
TESTS_ENVIRONMENT is deprecated and should be reserved to the user to override the test environment <ext>_LOG_COMPILER is meant to contain the program that runs the test with <ext> extension LOG_COMPILER is for extensionless tests AM_TESTS_ENVIRONMENT is meant to set the environment for the tests https://bugs.freedesktop.org/show_bug.cgi?id=60192 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
62b7d764ce
commit
96220a5ed9
|
@ -28,7 +28,6 @@ if ENABLE_DOCS
|
||||||
SUBDIRS += doc
|
SUBDIRS += doc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = dist-bzip2
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
|
|
|
@ -34,7 +34,7 @@ dnl version. This same version number must appear in fontconfig/fontconfig.h
|
||||||
dnl Yes, it is a pain to synchronize version numbers. Unfortunately, it's
|
dnl Yes, it is a pain to synchronize version numbers. Unfortunately, it's
|
||||||
dnl not possible to extract the version number here from fontconfig.h
|
dnl not possible to extract the version number here from fontconfig.h
|
||||||
AC_INIT([fontconfig], [2.10.91], [https://bugs.freedesktop.org/enger_bug.cgi?product=fontconfig])
|
AC_INIT([fontconfig], [2.10.91], [https://bugs.freedesktop.org/enger_bug.cgi?product=fontconfig])
|
||||||
AM_INIT_AUTOMAKE
|
AM_INIT_AUTOMAKE([1.11 parallel-tests dist-bzip2])
|
||||||
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
|
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
|
||||||
|
|
||||||
dnl libtool versioning
|
dnl libtool versioning
|
||||||
|
|
|
@ -53,7 +53,10 @@ SUFFIXES = \
|
||||||
TESTS = \
|
TESTS = \
|
||||||
check-missing-doc \
|
check-missing-doc \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
TESTS_ENVIRONMENT=top_srcdir=${top_srcdir} sh
|
TESTS_ENVIRONMENT = \
|
||||||
|
top_srcdir=${top_srcdir}; export top_srcdir; \
|
||||||
|
$(NULL)
|
||||||
|
LOG_COMPILER = sh
|
||||||
#
|
#
|
||||||
DOC2HTML = docbook2html
|
DOC2HTML = docbook2html
|
||||||
DOC2TXT = docbook2txt
|
DOC2TXT = docbook2txt
|
||||||
|
|
|
@ -1,5 +1,15 @@
|
||||||
check_SCRIPTS=run-test.sh
|
check_SCRIPTS=run-test.sh
|
||||||
TESTS_ENVIRONMENT=src=${srcdir} EXEEXT=${EXEEXT} sh
|
TEST_EXTENSIONS = \
|
||||||
|
.sh \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
AM_TESTS_ENVIRONMENT= \
|
||||||
|
src=${srcdir}; export src; \
|
||||||
|
EXEEXT=${EXEEXT}; export EXEEXT; \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
SH_LOG_COMPILER = sh
|
||||||
|
|
||||||
TESTS=run-test.sh
|
TESTS=run-test.sh
|
||||||
|
|
||||||
TESTDATA=4x6.pcf 8x16.pcf out.expected fonts.conf.in
|
TESTDATA=4x6.pcf 8x16.pcf out.expected fonts.conf.in
|
||||||
|
|
Loading…
Reference in New Issue