From 73a261f238296df5552097442ee88979f5f70016 Mon Sep 17 00:00:00 2001 From: James Bottomley Date: Wed, 18 Oct 2017 16:48:01 -0700 Subject: [PATCH] make check: fix test environment problem autotest is very finicky. The environment can't be set up in SH_LOG_COMPILER, but have to be done in AM_TESTS_ENVIRONMENT instead, so fix this. Signed-off-by: James Bottomley --- tests/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 8085d5c..793ab26 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -58,7 +58,8 @@ TESTS = sign-verify.sh \ detach-remove.sh TEST_EXTENSIONS = .sh -SH_LOG_COMPILER = TEST_ARCHES="$(test_arches)" $(srcdir)/test-wrapper.sh +AM_TESTS_ENVIRONMENT = TEST_ARCHES='$(test_arches)'; export TEST_ARCHES; +SH_LOG_COMPILER = $(srcdir)/test-wrapper.sh EXTRA_DIST = $(test_lds) test.S $(TESTS) $(check_SCRIPTS) CLEANFILES = $(test_key) $(test_cert) $(test_images)