diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-05-01 19:38:21 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-05-01 19:38:30 +0200 |
commit | 4ae32cae68829bc9fbfa4ed44da817a4056c5058 (patch) | |
tree | 9fc8aaac3127df93cc2c48f9c5f9b9b584f2bcd5 /buildbot | |
parent | 0f0da89ec0302b6b3c9d451f64bb0ce4b6204b9c (diff) | |
download | deployment-4ae32cae68829bc9fbfa4ed44da817a4056c5058.tar.gz deployment-4ae32cae68829bc9fbfa4ed44da817a4056c5058.tar.bz2 deployment-4ae32cae68829bc9fbfa4ed44da817a4056c5058.zip |
coverage tests need wallet-cli
Diffstat (limited to 'buildbot')
-rw-r--r-- | buildbot/master.cfg | 2 | ||||
-rwxr-xr-x | buildbot/run-coverage-helper.sh | 4 |
2 files changed, 3 insertions, 3 deletions
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 |