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

Allow opting out of test output "simplification" #20709

Open
benjyw opened this issue Mar 23, 2024 · 1 comment
Open

Allow opting out of test output "simplification" #20709

benjyw opened this issue Mar 23, 2024 · 1 comment
Assignees

Comments

@benjyw
Copy link
Sponsor Contributor

benjyw commented Mar 23, 2024

We strip chroot paths from test output, as they are an implementation detail that users will find confusing, but that leak into the paths that tests see.

However sometimes that can go awry and the regex we use will match more than intended. So we should offer an escape hatch, and then disable this output rewriting in the pants repo itself, where we typically do want to see the chroot paths, as they are precisely what we may be debugging!

@benjyw benjyw self-assigned this Mar 23, 2024
@tgolsson
Copy link
Contributor

I have a PR that changes this (and fixes the overeager replacements)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants