diff mbox

[PATCHv5,4/4] validation: export ODP_PLATFROM for tests

Message ID 1418901989-30502-5-git-send-email-maxim.uvarov@linaro.org
State New
Headers show

Commit Message

Maxim Uvarov Dec. 18, 2014, 11:26 a.m. UTC
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 <maxim.uvarov@linaro.org>
---
 test/validation/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/test/validation/Makefile.am b/test/validation/Makefile.am
index cbeef5d..72ff9e2 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}
 
 if ODP_CUNIT_ENABLED
 TESTS = odp_init odp_queue odp_crypto odp_shm odp_schedule odp_pktio_run