- moved timeout handling responsibility from for nat tests from caller to the library
[oweals/gnunet.git] / src / datacache / Makefile.am
index f9af4610bbdd120e52e08860ee577c6b260d1739..7a89da8528a57032c924e2780747c4715f3c658a 100644 (file)
@@ -122,7 +122,7 @@ check_PROGRAMS = \
  $(POSTGRES_TESTS) 
 
 if ENABLE_TEST_RUN
-TESTS_ENVIRONMENT=export GNUNET_PREFIX=@prefix@;export PATH=@prefix@/bin:$$PATH;
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
 TESTS = $(check_PROGRAMS)
 endif