Page MenuHomePhabricator

[CI] Work around LCOV stupid behavior
ClosedPublic

Authored by Fabien on Jan 11 2021, 20:36.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABC66997ade0d56: [CI] Work around LCOV stupid behavior
Summary

D8874 was tested using a recent lcov version. Previous version are
stupid enough to print their output to stderr (when no error) instead of
stdout.
This diff works around this by redirecting stderr to stdout, so the
coverage-summary.txt file is not empty.

Test Plan

On Debian:

./contrib/teamcity/build-configurations.py cashtab-tests

Check the coverage summary has content in it.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
ci_cashtab_coverage_summary_lcov_bug
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14710
Build 29379: Build Diff
Build 29378: arc lint + arc unit