summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-01 19:38:21 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-01 19:38:30 +0200
commit4ae32cae68829bc9fbfa4ed44da817a4056c5058 (patch)
tree9fc8aaac3127df93cc2c48f9c5f9b9b584f2bcd5
parent0f0da89ec0302b6b3c9d451f64bb0ce4b6204b9c (diff)
downloaddeployment-4ae32cae68829bc9fbfa4ed44da817a4056c5058.tar.gz
deployment-4ae32cae68829bc9fbfa4ed44da817a4056c5058.tar.bz2
deployment-4ae32cae68829bc9fbfa4ed44da817a4056c5058.zip
coverage tests need wallet-cli
-rwxr-xr-xbin/taler-deployment6
-rw-r--r--buildbot/master.cfg2
-rwxr-xr-xbuildbot/run-coverage-helper.sh4
3 files changed, 9 insertions, 3 deletions
diff --git a/bin/taler-deployment b/bin/taler-deployment
index d1c42d1..4b6805d 100755
--- a/bin/taler-deployment
+++ b/bin/taler-deployment
@@ -376,6 +376,12 @@ def get_repos(envname):
build_bank
),
Repo(
+ "wallet-core",
+ "git://git.taler.net/wallet-core",
+ [],
+ build_wallet,
+ ),
+ Repo(
"merchant-backoffice",
"git://git.taler.net/merchant-backoffice",
[],
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
index 7f82eaa..17612ca 100644
--- a/buildbot/master.cfg
+++ b/buildbot/master.cfg
@@ -400,7 +400,7 @@ LCOV_FACTORY.addStep(
name="coverage generation",
description="running tests",
descriptionDone="generating HTML report",
- command=["/usr/bin/sudo", "/usr/local/bin/netjail.sh", "/home/lcovworker/deployment/buildbot/with-postgres.sh","./coverage.sh"],
+ command=["/usr/bin/sudo", "/usr/local/bin/netjail.sh", "/home/lcovworker/deployment/buildbot/coverage.sh"],
workdir="../../deployment/buildbot",
env={'PATH': "${HOME}/local/bin:${PATH}"}
)
diff --git a/buildbot/run-coverage-helper.sh b/buildbot/run-coverage-helper.sh
index 3b8933d..7448514 100755
--- a/buildbot/run-coverage-helper.sh
+++ b/buildbot/run-coverage-helper.sh
@@ -7,7 +7,7 @@ set -eu
ORIG=`pwd`
-for codebase in merchant exchange sync ; do
+for codebase in exchange merchant sync anastasis; do
TOP="$HOME/sources/${codebase}/"
REPORT_DIR="$HOME/sources/${codebase}/coverage_report"
lcov --no-external --initial -d $TOP -z
@@ -16,7 +16,7 @@ for codebase in merchant exchange sync ; do
mkdir -p $REPORT_DIR
lcov -d $TOP -c --no-external -o $REPORT_DIR/coverage.info
lcov -r $REPORT_DIR/coverage.info **/test_* -o $REPORT_DIR/rcoverage.info
- genhtml --legend --title "GNU Taler coverage report" -o $REPORT_DIR $REPORT_DIR/rcoverage.info
+ genhtml --legend --title "GNU Taler $codebase coverage report" -o $REPORT_DIR $REPORT_DIR/rcoverage.info
chmod a+rx -R $REPORT_DIR
done