From a059680acd1c471ae2ca53a58135452f37e41841 Mon Sep 17 00:00:00 2001 From: Quentin Glidic Date: Sat, 2 Feb 2013 17:01:07 +0100 Subject: [PATCH] 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 _LOG_COMPILER is meant to contain the program that runs the test with extension AM_TESTS_ENVIRONMENT is meant to set the environment for the tests Signed-off-by: Quentin Glidic --- test/Makefile.am | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/test/Makefile.am b/test/Makefile.am index 664138a..3d47da3 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 -- 1.8.1.1