gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] 20/152: make tests skip until we have a wallet to regen


From: gnunet
Subject: [taler-exchange] 20/152: make tests skip until we have a wallet to regen the DB
Date: Sun, 05 Jul 2020 20:46:16 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

commit a368f427d1488b30c20b8554d68c826d435e80c2
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]