Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.1.0]Emit LLVM coverage for source file paths with a tmp segment #17324

Merged
merged 4 commits into from
Jan 26, 2023
Merged

[6.1.0]Emit LLVM coverage for source file paths with a tmp segment #17324

merged 4 commits into from
Jan 26, 2023

Conversation

ShreeM01
Copy link
Contributor

The LLVM LCOV coverage collection logic attempted to filter out source files under /tmp/, but instead filtered out all source files with paths containing the substring /tmp/. Under macOS, where Bazel's output base lies under /private/var/tmp, this matched every output base absolute path.

Closes #16852.

PiperOrigin-RevId: 500973551
Change-Id: I6c890f38c19eedec83cdf0ea99f021eb85f4e697

The LLVM LCOV coverage collection logic attempted to filter out source files under `/tmp/`, but instead filtered out all source files with paths containing the substring `/tmp/`. Under macOS, where Bazel's output base lies under `/private/var/tmp`, this matched every output base absolute path.

Closes #16852.

PiperOrigin-RevId: 500973551
Change-Id: I6c890f38c19eedec83cdf0ea99f021eb85f4e697
Copy link
Member

@c-mita c-mita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ShreeM01 ShreeM01 enabled auto-merge (squash) January 26, 2023 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants