From 611d42112112fe6e11df8a6417f3a0b69d97143f Mon Sep 17 00:00:00 2001 From: LRN Date: Sun, 2 Feb 2014 17:11:17 +0000 Subject: Fix TESTS_ENVIRONMENT setting (allow GNUNET_PREFIX to be overriden, allow TESTS_ENVIRONMENT to be overrided (use AM_TESTS_ENVIRONMENT)) --- src/testing/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testing') diff --git a/src/testing/Makefile.am b/src/testing/Makefile.am index 6b229b6fe..899708102 100644 --- a/src/testing/Makefile.am +++ b/src/testing/Makefile.am @@ -57,7 +57,7 @@ check_PROGRAMS = \ test_testing_sharedservices if ENABLE_TEST_RUN -TESTS_ENVIRONMENT=export GNUNET_PREFIX=@libdir@;export PATH=@prefix@/bin:$$PATH; +AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH; TESTS = \ test_testing_portreservation \ test_testing_peerstartup \ -- cgit v1.2.3