On 12/19/2014 03:04 PM, Stuart Haslam wrote:
On Fri, Dec 19, 2014 at 11:46:39AM +0000, Maxim Uvarov wrote:
automake at least v 1.11.3 does not correctly recognize AM_TESTS_ENVIRONMENT.
Just export this variable to be accessed thought make check run.
Signed-off-by: Maxim Uvarov <[email protected]>
---
test/validation/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/validation/Makefile.am b/test/validation/Makefile.am
index db24ef4..1c8c5c7 100644
--- a/test/validation/Makefile.am
+++ b/test/validation/Makefile.am
@@ -3,7 +3,7 @@ include $(top_srcdir)/test/Makefile.inc
AM_CFLAGS += -I$(srcdir)/common
AM_LDFLAGS += -static
-AM_TESTS_ENVIRONMENT = ODP_PLATFORM=${with_platform}
+export ODP_PLATFORM=${with_platform}
Instead of this, can you try just changing the name, so;
TESTS_ENVIRONMENT = ODP_PLATFORM=${with_platform}
This seems to be the solution adopted elsewhere, e.g.;
http://osdir.com/ml/bug-hello-gnu/2014-08/msg00001.html
That works. Can you check that TEST_ENVIRONMENT works on your system?
Maxim.
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp