Skip to content

Conversation

@mcy
Copy link
Owner

@mcy mcy commented Jan 14, 2025

No description provided.

mcy added 11 commits January 25, 2025 15:12
In the previous design of output(), you could get into a situation where
the outputs for the test depended on which output path the test took,
meaning that if an error occured, it would generate an error golden, but
once the error was resolved, it would fail to delete the error golden.
This change requires that all outputs be specified up-front.
Rust does not provide a way to specify that there are non-Rust files
relevant to the build that should cause the build to stale if they
change. We implement this ourselves through some gross mtime hacks.

The best we can do is inform the user that inputs have changed and
they must re-run cargo test to cause the tests to be rebuilt against
the new inputs.
@mcy mcy merged commit 4c5708c into main Jan 25, 2025
3 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