summaryrefslogtreecommitdiff
path: root/src/auditor/test-auditor.sh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-05-01 19:48:11 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-05 16:35:00 +0200
commit19f51f558b08352161c11725f7219aabb461e7e2 (patch)
tree8871dbb65602ec55bf98b1a78cfd36bdf919e5cb /src/auditor/test-auditor.sh
parent18aba845fa3775620a866338d54a514c33b599e2 (diff)
downloadexchange-19f51f558b08352161c11725f7219aabb461e7e2.tar.gz
exchange-19f51f558b08352161c11725f7219aabb461e7e2.tar.bz2
exchange-19f51f558b08352161c11725f7219aabb461e7e2.zip
make tests skip until we have a wallet to regen the DB
Diffstat (limited to 'src/auditor/test-auditor.sh')
-rwxr-xr-xsrc/auditor/test-auditor.sh8
1 files changed, 7 insertions, 1 deletions
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