From 135d36589323aee4aeca766500c9c9ceb5ed1261 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 23 Aug 2019 15:21:26 +0200 Subject: integrate auditor test into build system --- src/auditor/Makefile.am | 6 +++++- src/auditor/test-auditor.sh | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src') 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)" -- cgit v1.2.3