Skip to content
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

Improve runner parsing #75

Merged
merged 2 commits into from
Feb 24, 2022

Conversation

Guiguiprim
Copy link
Contributor

Fix for #73

I'm not sure about the second commit. Maybe we should stop the ancestors walk at the workspace root ?
What was the goal behind use_cargo_home ? tests ? If so, I guess both approach would work.
Fun fact: the tests where broken before the first commit on my computer because they were reading my home config with an array of strings (even with the use_cargo_home = false)...

Copy link
Member

@sunshowers sunshowers left a comment

Choose a reason for hiding this comment

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

Looks good, just one change required.

nextest-runner/src/target_runner.rs Outdated Show resolved Hide resolved
@sunshowers
Copy link
Member

I'm going to get a quick hotfix out to make nextest non-fatal in case of any issues (which I believe is the correct thing to do anyway), then let's figure out a good fix here.

@Guiguiprim Guiguiprim force-pushed the improve-runner-parsing branch 2 times, most recently from 294e674 to 9ed4789 Compare February 23, 2022 18:43
@sunshowers
Copy link
Member

I'll have a final look at this and land it later today. Thanks!

@sunshowers
Copy link
Member

Thanks! I have some minor plans for improvement but I'll land this and iterate on it myself.

@sunshowers sunshowers merged commit 3071a66 into nextest-rs:main Feb 24, 2022
@Guiguiprim Guiguiprim deleted the improve-runner-parsing branch February 24, 2022 08:21
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