set environment variable to ensure plugins are found during tests

This commit is contained in:
Christian Grothoff 2016-04-01 20:35:22 +02:00
parent bf3e5487b4
commit d7d33b6812
4 changed files with 7 additions and 0 deletions

View File

@ -45,6 +45,8 @@ endif
check_PROGRAMS = \ check_PROGRAMS = \
test_exchange_api test_exchange_api
AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
TESTS = \ TESTS = \
$(check_PROGRAMS) $(check_PROGRAMS)

View File

@ -74,6 +74,8 @@ test_taler_exchange_aggregator_postgres_LDADD = \
check_PROGRAMS = \ check_PROGRAMS = \
test_taler_exchange_aggregator-postgres test_taler_exchange_aggregator-postgres
AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
TESTS = \ TESTS = \
$(check_SCRIPTS) \ $(check_SCRIPTS) \
$(check_PROGRAMS) $(check_PROGRAMS)

View File

@ -53,6 +53,7 @@ check_PROGRAMS = \
test-perf-taler-exchangedb \ test-perf-taler-exchangedb \
perf-exchangedb perf-exchangedb
AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
TESTS = \ TESTS = \
test-exchangedb-postgres \ test-exchangedb-postgres \
test-perf-taler-exchangedb test-perf-taler-exchangedb

View File

@ -62,6 +62,8 @@ libtalerwire_la_LDFLAGS = \
-export-dynamic -no-undefined -export-dynamic -no-undefined
AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
TESTS = \ TESTS = \
test_sepa_wireformat test_sepa_wireformat