exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit a368f427d1488b30c20b8554d68c826d435e80c2
parent f93bf0b72bedd5190964096016bc9e97a9b45915
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri,  1 May 2020 19:48:11 +0200

make tests skip until we have a wallet to regen the DB

Diffstat:
Msrc/auditor/generate-revoke-basedb.sh | 4++++
Msrc/auditor/test-auditor.sh | 8+++++++-
Msrc/auditor/test-revocation.sh | 8+++++++-
3 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/src/auditor/generate-revoke-basedb.sh b/src/auditor/generate-revoke-basedb.sh @@ -8,6 +8,10 @@ set -eu +echo "Script disabled: taler-wallet-cli integration test known to fail right now!" +exit 1 + + trap "kill `jobs -p` &> /dev/null || true" ERR # Exit, with status code "skip" (no 'real' failure) diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh @@ -1872,6 +1872,12 @@ else fi fi -check_with_database "auditor-basedb" +# run tests with pre-build database, if one is available +if test -x auditor-basedb.mpub +then + check_with_database "auditor-basedb" +else + fail=77 +fi exit $fail diff --git a/src/auditor/test-revocation.sh b/src/auditor/test-revocation.sh @@ -543,6 +543,12 @@ else fi fi -check_with_database "revoke-basedb" +# run tests with pre-build database, if one is available +if test -x revoke-basedb.mpub +then + check_with_database "revoke-basedb" +else + fail=77 +fi exit $fail