taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 4ae32cae68829bc9fbfa4ed44da817a4056c5058
parent 0f0da89ec0302b6b3c9d451f64bb0ce4b6204b9c
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat,  1 May 2021 19:38:21 +0200

coverage tests need wallet-cli

Diffstat:
Mbin/taler-deployment | 6++++++
Mbuildbot/master.cfg | 2+-
Mbuildbot/run-coverage-helper.sh | 4++--
3 files changed, 9 insertions(+), 3 deletions(-)

diff --git 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 @@ -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 @@ -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