Skip to content

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Aug 26, 2025

This includes a few improvements to the test infrastructure. See each commit for more details.

ehuss added 3 commits August 26, 2025 15:38
This sprinkles track_caller on some more test functions to give more
useful line numbers on errors when a test fails.

read_to_string was changed since it couldn't track caller on a closure.
This adds the ability for some test functions to use a glob pattern to
match a single file. This will be helpful when testing hash-files
support.
This is helpful for matching patterns within a larger file. The error
message isn't quite as good, since it doesn't explicitly say "pattern
not found", but I think you can figure it out from the context.
@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Aug 26, 2025
@ehuss ehuss enabled auto-merge August 26, 2025 22:48
@ehuss ehuss disabled auto-merge August 26, 2025 22:50
@ehuss ehuss enabled auto-merge August 26, 2025 22:51
@ehuss ehuss added this pull request to the merge queue Aug 26, 2025
Merged via the queue into rust-lang:master with commit 73a1652 Aug 26, 2025
14 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: waiting on a review label Aug 26, 2025
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