-
Notifications
You must be signed in to change notification settings - Fork 23
Fix RUSTIC-CARGO-TEST #74
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
Conversation
To only use the last stored arguments if RUSTIC-CARGO-USE-LAST-STORED-ARGUMENTS is non-nil. Otherwise once we run only a single test (e.g via RUSTIC-CARGO-CURRENT-TEST), then trying to run all tests will still only run the last current test.
|
@SiberzK Thanks for the PR!
I tried to test the behavior that you have specified, but I'm unable to reproduce. It could be because I have mis-understood it. Can you give me a reproducible steps of the issue that this PR is trying to fix it ? |
Since |
psibi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I can reproduce it. Do you think you can add tests for this ? I'm merging this nonetheless.
I spoke soon, can you see why the tests are failing ? |
To use `rustic-default-test-arguments`. This accompanies commit 8ce8514, fixing behaviour where even if `rustic-cargo-use-last-stored-arguments` is set to NIL, running `rustic-cargo-test` would still use the last stored arguments.
Hey, I've done some digging and found that the test was changed in commit de8ec9f to no longer use the default arguments. This was done to "fix" the test after 1280136, which introduced the bug this PR attempts to fix. In fact this change was simply hiding the bug. I've pushed a 2nd commit to this PR reverting the relevant part of
|
psibi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
To only use the last stored arguments if
RUSTIC-CARGO-USE-LAST-STORED-ARGUMENTS is non-nil.
Otherwise once we run only a single test (e.g via
RUSTIC-CARGO-CURRENT-TEST), then trying to run all tests will still only run the last current test.