From 4ae32cae68829bc9fbfa4ed44da817a4056c5058 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 1 May 2021 19:38:21 +0200 Subject: coverage tests need wallet-cli --- bin/taler-deployment | 6 ++++++ buildbot/master.cfg | 2 +- buildbot/run-coverage-helper.sh | 4 ++-- 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 @@ -375,6 +375,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 -- cgit v1.2.3