-
Notifications
You must be signed in to change notification settings - Fork 479
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
Export_failure test fails on Windows with Powershell #1061
Comments
Is this failing on master? |
Yes it fails on the most recent commit on master (125801e). |
I'm not sure I understand, this recent test run passed on windows: https://github.com/casey/just/runs/4686879325?check_suite_focus=true |
But not with the following args |
I think the export feature is not yet compatible with PowerShell. |
That's okay, not all tests are expected to be compatible with PowerShell, since a lot of them use shell-specific constructs. |
Okay I was just worried that this feature wouldn't work with PowerShell at all, because it uses no sh/linux specific constructs in that test as far as I can see. I published the unit test here: https://github.com/casey/just/pull/1066/files#diff-7f1715f83f401c5a708de4c89128b39d561b79907de38aa51ecbc421790d5a8aR547
|
Okay, sweet, that's for clarifying, I didn't understand what the issue was. I'll leave #1060 open to track the issue. |
Ahhhh, okay, my bad, again, totally misunderstood. I think that this is not a bug. The test is checking that |
I don't think there is such a flag in powershell |
I opened #1071 to track setting strict mode when |
Regarding the
export_failure
unit test here: https://github.com/casey/just/blob/master/src/justfile.rs#L645When running the code with
args: ["--quiet", "--shell", "powershell.exe", "--shell-arg", "-c", "wut"],
on Windows the test will fail, because noCode
runtime error will occur.I am not sure why it would fail on Linux either, maybe someone can elaborate what the purpose of this test is.
The text was updated successfully, but these errors were encountered: