summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-08-23 15:21:26 +0200
committerChristian Grothoff <christian@grothoff.org>2019-08-23 15:21:26 +0200
commit135d36589323aee4aeca766500c9c9ceb5ed1261 (patch)
treee5af63751239c1c0e0e9fc8b1a113849f75988e4 /src
parent0d230131e61df2bff75ab47256217eb22c910b26 (diff)
downloadexchange-135d36589323aee4aeca766500c9c9ceb5ed1261.tar.gz
exchange-135d36589323aee4aeca766500c9c9ceb5ed1261.tar.bz2
exchange-135d36589323aee4aeca766500c9c9ceb5ed1261.zip
integrate auditor test into build system
Diffstat (limited to 'src')
-rw-r--r--src/auditor/Makefile.am6
-rwxr-xr-xsrc/auditor/test-auditor.sh2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/auditor/Makefile.am b/src/auditor/Makefile.am
index 4da58297..a31705f9 100644
--- a/src/auditor/Makefile.am
+++ b/src/auditor/Makefile.am
@@ -98,7 +98,11 @@ taler_auditor_exchange_LDADD = \
$(top_builddir)/src/auditordb/libtalerauditordb.la \
-lgnunetutil $(XLIB)
+check_SCRIPTS = \
+ test-auditor.sh
+TESTS = $(check_SCRIPTS)
EXTRA_DIST = \
- auditor.conf
+ auditor.conf \
+ $(check_SCRIPTS)
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index 95f7691e..8bf54e5d 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -27,7 +27,7 @@ MASTER_PUB=`cat ../benchmark/auditor-basedb.mpub`
# Launch bank
echo "Launching bank"
taler-bank-manage -c test-auditor.conf serve-http 2>/dev/null >/dev/null &
-sleep 10
+
# Run the auditor!
echo "Running audit(s)"