Skip to content

Added test config setting for skipping diffing.#1158

Merged
davidlattimore merged 1 commit intowild-linker:mainfrom
daniel-levin:main
Oct 7, 2025
Merged

Added test config setting for skipping diffing.#1158
davidlattimore merged 1 commit intowild-linker:mainfrom
daniel-levin:main

Conversation

@daniel-levin
Copy link
Copy Markdown
Contributor

@daniel-levin daniel-levin commented Oct 6, 2025

As described in the title. Now, when a test fails because of only a diff, text is printed indicating as much, with a pointer to how to disable diffing. This is useful for packagers and bundlers who want to check that wild, as configured, works sanely. It is also invaluable for porting wild to other unixes, as one single test setting can be used to isolate truly broken tests from differences in opinion between linkers.

Copy link
Copy Markdown
Member

@davidlattimore davidlattimore left a comment

Choose a reason for hiding this comment

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

Thanks for doing this. I'm wondering if we should go further and default to not diffing, then allow people to opt-in to diffing if they're running on a system where it's supported. If we do that, then we could potentially rename the option to something like enable_diff. My reason for opt-in rather than opt-out is that people packaging wild are often doing so in unusual and minimal environments and they're really just wanting to know if the way that they packaged it broke something.

Obviously for CI, we'd enable it and we'd probably recommend enabling it for people doing active development on wild.

@daniel-levin
Copy link
Copy Markdown
Contributor Author

Good point. I'll invert the flag.

@daniel-levin daniel-levin force-pushed the main branch 2 times, most recently from 8b0bb73 to c72b732 Compare October 7, 2025 08:24
@davidlattimore davidlattimore merged commit b82cae0 into wild-linker:main Oct 7, 2025
20 checks passed
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.

2 participants