summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-01 19:48:11 +0200
committerChristian Grothoff <christian@grothoff.org>2020-05-19 01:05:57 +0200
commiteb965ac7098f33fb76da4b6576db7d44d06238f6 (patch)
treed9a9be07eab5f625da14158d19b79e116df28363 /src
parentcf596d66f5b176c4f98219b7e7b5897644459a4a (diff)
downloadexchange-eb965ac7098f33fb76da4b6576db7d44d06238f6.tar.gz
exchange-eb965ac7098f33fb76da4b6576db7d44d06238f6.tar.bz2
exchange-eb965ac7098f33fb76da4b6576db7d44d06238f6.zip
make tests skip until we have a wallet to regen the DB
Diffstat (limited to 'src')
-rwxr-xr-xsrc/auditor/generate-revoke-basedb.sh4
-rwxr-xr-xsrc/auditor/test-auditor.sh8
-rwxr-xr-xsrc/auditor/test-revocation.sh8
3 files changed, 18 insertions, 2 deletions
diff --git a/src/auditor/generate-revoke-basedb.sh b/src/auditor/generate-revoke-basedb.sh
index e687b1ffd..00ad3a6c1 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 57b017d28..edf5fec59 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 714fcc8a1..1b5070a3b 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