Faster local testing with reference.rs
#4255
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is basically a follow-up to #4242 to make it faster to run reference tests locally. The main problem is that tests take time to run and that
references.rs
had no progress indication and only reported failures after all tests went through.This PR:
Change 2 and 3 only take effect locally. CI workflows use the old strategy of running all tests in order of name and printing all error messages (if any) at the end.
With this, writing and running tests is now quite convenient. Before #4242, I had to wait roughly 2 minutes to see the results of a test I added. After #4242, it was down to around 20~30 seconds. With this PR, it's down to 2~4 seconds.