diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-05-01 19:48:11 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:35:00 +0200 |
commit | 19f51f558b08352161c11725f7219aabb461e7e2 (patch) | |
tree | 8871dbb65602ec55bf98b1a78cfd36bdf919e5cb | |
parent | 18aba845fa3775620a866338d54a514c33b599e2 (diff) | |
download | exchange-19f51f558b08352161c11725f7219aabb461e7e2.tar.gz exchange-19f51f558b08352161c11725f7219aabb461e7e2.zip |
make tests skip until we have a wallet to regen the DB
-rwxr-xr-x | src/auditor/generate-revoke-basedb.sh | 4 | ||||
-rwxr-xr-x | src/auditor/test-auditor.sh | 8 | ||||
-rwxr-xr-x | 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 e687b1ffd..00ad3a6c1 100755 --- a/src/auditor/generate-revoke-basedb.sh +++ b/src/auditor/generate-revoke-basedb.sh | |||
@@ -8,6 +8,10 @@ | |||
8 | set -eu | 8 | set -eu |
9 | 9 | ||
10 | 10 | ||
11 | echo "Script disabled: taler-wallet-cli integration test known to fail right now!" | ||
12 | exit 1 | ||
13 | |||
14 | |||
11 | trap "kill `jobs -p` &> /dev/null || true" ERR | 15 | trap "kill `jobs -p` &> /dev/null || true" ERR |
12 | 16 | ||
13 | # Exit, with status code "skip" (no 'real' failure) | 17 | # 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 | |||
1872 | fi | 1872 | fi |
1873 | fi | 1873 | fi |
1874 | 1874 | ||
1875 | check_with_database "auditor-basedb" | 1875 | # run tests with pre-build database, if one is available |
1876 | if test -x auditor-basedb.mpub | ||
1877 | then | ||
1878 | check_with_database "auditor-basedb" | ||
1879 | else | ||
1880 | fail=77 | ||
1881 | fi | ||
1876 | 1882 | ||
1877 | exit $fail | 1883 | 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 | |||
543 | fi | 543 | fi |
544 | fi | 544 | fi |
545 | 545 | ||
546 | check_with_database "revoke-basedb" | 546 | # run tests with pre-build database, if one is available |
547 | if test -x revoke-basedb.mpub | ||
548 | then | ||
549 | check_with_database "revoke-basedb" | ||
550 | else | ||
551 | fail=77 | ||
552 | fi | ||
547 | 553 | ||
548 | exit $fail | 554 | exit $fail |