aboutsummaryrefslogtreecommitdiff
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
parent0d230131e61df2bff75ab47256217eb22c910b26 (diff)
integrate auditor test into build system
-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 4da582970..a31705f99 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 95f7691e4..8bf54e5df 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)"