Skip to content

Improve runner parsing#75

Merged
sunshowers merged 2 commits into
nextest-rs:mainfrom
Guiguiprim:improve-runner-parsing
Feb 24, 2022
Merged

Improve runner parsing#75
sunshowers merged 2 commits into
nextest-rs:mainfrom
Guiguiprim:improve-runner-parsing

Conversation

@Guiguiprim

Copy link
Copy Markdown
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)...

@sunshowers sunshowers left a comment

Copy link
Copy Markdown
Member

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.

Comment thread nextest-runner/src/target_runner.rs Outdated
Comment thread nextest-runner/src/target_runner.rs Outdated
@sunshowers

Copy link
Copy Markdown
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
Comment thread nextest-runner/src/target_runner.rs
@Guiguiprim Guiguiprim force-pushed the improve-runner-parsing branch from 9ed4789 to da627c4 Compare February 23, 2022 19:24
Comment thread nextest-runner/src/target_runner.rs Outdated
@Guiguiprim Guiguiprim force-pushed the improve-runner-parsing branch from da627c4 to bc78721 Compare February 23, 2022 20:22
@sunshowers

Copy link
Copy Markdown
Member

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

@sunshowers

Copy link
Copy Markdown
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