From d7d33b681216c397c0b0b4c7e633eee068f48b45 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 1 Apr 2016 20:35:22 +0200 Subject: set environment variable to ensure plugins are found during tests --- src/exchange-lib/Makefile.am | 2 ++ src/exchange/Makefile.am | 2 ++ src/exchangedb/Makefile.am | 1 + src/wire/Makefile.am | 2 ++ 4 files changed, 7 insertions(+) (limited to 'src') 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 -- cgit v1.2.3