[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 06/152: make tests skip until we have a wallet to regen
From: |
gnunet |
Subject: |
[taler-exchange] 06/152: make tests skip until we have a wallet to regen the DB |
Date: |
Sun, 05 Jul 2020 20:46:02 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
commit 922d3be4eb08518f7bda491ed45f58a326356ef5
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri May 1 19:48:11 2020 +0200
make tests skip until we have a wallet to regen the DB
---
src/auditor/generate-revoke-basedb.sh | 4 ++++
src/auditor/test-auditor.sh | 8 +++++++-
src/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
index e687b1ff..00ad3a6c 100755
--- 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
index 57b017d2..edf5fec5 100755
--- 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
index 714fcc8a..1b5070a3 100755
--- 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
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-exchange] branch master updated (e428783e -> 6de49ea2), gnunet, 2020/07/05
- [taler-exchange] 01/152: v8 bump, gnunet, 2020/07/05
- [taler-exchange] 03/152: ign, gnunet, 2020/07/05
- [taler-exchange] 04/152: implement #6181, gnunet, 2020/07/05
- [taler-exchange] 06/152: make tests skip until we have a wallet to regen the DB,
gnunet <=
- [taler-exchange] 08/152: modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later), gnunet, 2020/07/05
- [taler-exchange] 02/152: fix status code, gnunet, 2020/07/05
- [taler-exchange] 10/152: add ec, gnunet, 2020/07/05
- [taler-exchange] 07/152: update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later, gnunet, 2020/07/05
- [taler-exchange] 05/152: void basedb due to signature format change, gnunet, 2020/07/05
- [taler-exchange] 09/152: modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies, gnunet, 2020/07/05
- [taler-exchange] 11/152: combine sections, gnunet, 2020/07/05
- [taler-exchange] 12/152: return fee as well, gnunet, 2020/07/05
- [taler-exchange] 13/152: towards changing timestamp in deposit confirmation (tests failing), gnunet, 2020/07/05
- [taler-exchange] 18/152: implement #6181, gnunet, 2020/07/05