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 --- buildbot/master.cfg | 2 +- buildbot/run-coverage-helper.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'buildbot') 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