summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2013-02-02 17:01:07 +0100
committerAkira TAGOH <akira@tagoh.org>2013-02-04 20:35:22 +0900
commit2146b0307a3476892723104481f27f8484451c52 (patch)
tree8e70aed33b25ad0140fd5983ce2d95e6b207620e /test
parentda0946721af3ab2dff3cd903065336b93592d067 (diff)
test: Use SH_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 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>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 664138a5..3d47da37 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,5 +1,15 @@
check_SCRIPTS=run-test.sh
-TESTS_ENVIRONMENT=src=${srcdir} EXEEXT=${EXEEXT} sh
+TEST_EXTENSIONS = \
+ .sh
+
+AM_TESTS_ENVIRONMENT= \
+ src=${srcdir}; \
+ EXEEXT=${EXEEXT}; \
+ export src; \
+ export EXEEXT;
+
+SH_LOG_COMPILER = sh
+
TESTS=run-test.sh
TESTDATA=4x6.pcf 8x16.pcf out.expected fonts.conf.in