diff options
author | 2018-04-19 02:55:15 -0700 | |
---|---|---|
committer | 2018-04-19 02:56:57 -0700 | |
commit | 9566f677a1093e3a3c0ddaed3f9ab34dd98e5e26 (patch) | |
tree | 375788e3c03417e2585619c840bb01456e1d0956 /src/test/java/com/google/devtools/build/lib/skylarkinterface/processor/testsources/PositionalParamAfterNonPositional.java | |
parent | 75b75c89fc3b0f5e0c68c0c4a7ca188e9d2ee205 (diff) |
Add a workaround for gcov-based coverage with clang
- Allow overriding the gcov tool with the GCOV env variable in cc_configure
- Symlink the GCOV tool in collect-coverage.sh to a temporary location with
the name "gcov"
This allows the user to specify GCOV=llvm-cov in the environment of a bazel
build, which then leads to cc_configure picking up llvm-cov in the crosstool,
which the collect-coverage.sh script then uses as "gcov".
On linux distributions, the gcov tool does not generally work with clang
coverage output, so this provides at least a workaround for running coverage
with clang (by setting the GCOV env variable).
Closes #5040.
PiperOrigin-RevId: 193487773
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/skylarkinterface/processor/testsources/PositionalParamAfterNonPositional.java')
0 files changed, 0 insertions, 0 deletions