Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if json.gz files exist, not the gcov version. (#18889)
Different versions of gcov output different types of files; older versions output textual data, newer ones output compressed JSON files (the switch happens in gcov). "llvm-cov gcov" is supposed to be compatible with gcov, but never outputs compressed JSON files. This means the version check will break if gcov is substituted with this tool. Checking for the output files created should avoid this issue, and be a more robust check overall. Fixes #18874 Closes #18878. PiperOrigin-RevId: 546901422 Change-Id: Ibcff1310de06bc8bd4637ad8a22f719d7608ea20 Co-authored-by: Charles Mita <[email protected]>
- Loading branch information