aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-01 20:35:22 +0200
committerChristian Grothoff <christian@grothoff.org>2016-04-01 20:35:22 +0200
commitd7d33b681216c397c0b0b4c7e633eee068f48b45 (patch)
tree4832942ebd4f66ae02e4838f53b7e04d54314f29 /src
parentbf3e5487b474e0a76d7ba9d15fae758ba693eb37 (diff)
set environment variable to ensure plugins are found during tests
Diffstat (limited to 'src')
-rw-r--r--src/exchange-lib/Makefile.am2
-rw-r--r--src/exchange/Makefile.am2
-rw-r--r--src/exchangedb/Makefile.am1
-rw-r--r--src/wire/Makefile.am2
4 files changed, 7 insertions, 0 deletions
diff --git a/src/exchange-lib/Makefile.am b/src/exchange-lib/Makefile.am
index 10188c8fe..49cb234a1 100644
--- a/src/exchange-lib/Makefile.am
+++ b/src/exchange-lib/Makefile.am
@@ -45,6 +45,8 @@ endif
check_PROGRAMS = \
test_exchange_api
+AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
+
TESTS = \
$(check_PROGRAMS)
diff --git a/src/exchange/Makefile.am b/src/exchange/Makefile.am
index 18a7c1b54..3375a41d5 100644
--- a/src/exchange/Makefile.am
+++ b/src/exchange/Makefile.am
@@ -74,6 +74,8 @@ test_taler_exchange_aggregator_postgres_LDADD = \
check_PROGRAMS = \
test_taler_exchange_aggregator-postgres
+AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
+
TESTS = \
$(check_SCRIPTS) \
$(check_PROGRAMS)
diff --git a/src/exchangedb/Makefile.am b/src/exchangedb/Makefile.am
index d56d6676a..416d5688f 100644
--- a/src/exchangedb/Makefile.am
+++ b/src/exchangedb/Makefile.am
@@ -53,6 +53,7 @@ check_PROGRAMS = \
test-perf-taler-exchangedb \
perf-exchangedb
+AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
TESTS = \
test-exchangedb-postgres \
test-perf-taler-exchangedb
diff --git a/src/wire/Makefile.am b/src/wire/Makefile.am
index 67a559a36..fd59c8eb7 100644
--- a/src/wire/Makefile.am
+++ b/src/wire/Makefile.am
@@ -62,6 +62,8 @@ libtalerwire_la_LDFLAGS = \
-export-dynamic -no-undefined
+AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
+
TESTS = \
test_sepa_wireformat