Code coverage tool for compiled programs, Python and Bash which uses debugging information to collect and report data without special compilation options
I want to check code coverage of bash scripts that act as agents in a cluster manager [1].
Those scripts are regularly called by the cluster manager, and sometimes return some
xml output under regular operation.
Unfortunately, since #249, when a bash script is being instrumented by kcov, its stdout
is ignored altogether (with recent bash, which seems to be what everyone uses these days).
So I cannot use kcov transparently anymore and gather coverage data.
Another side effect of #249 is that since nothing is draining stdout of the instrumented
process, that process could get stuck in output and never finish successfully. For instance,
kcov currently hangs on this bash script:
I want to check code coverage of bash scripts that act as agents in a cluster manager [1]. Those scripts are regularly called by the cluster manager, and sometimes return some xml output under regular operation.
Unfortunately, since #249, when a bash script is being instrumented by kcov, its stdout is ignored altogether (with recent bash, which seems to be what everyone uses these days). So I cannot use kcov transparently anymore and gather coverage data.
Another side effect of #249 is that since nothing is draining stdout of the instrumented process, that process could get stuck in output and never finish successfully. For instance, kcov currently hangs on this bash script:
[1] https://github.com/ClusterLabs/resource-agents/ for the record