-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Tests fail if directory contains special characters #14043
Comments
I was wondering why there are more failures now than in my original case -- it turns out I picked an extra unlucky directory name when submitting this issue! If I use a different directory |
So to summarize there are two issues
|
Yeah, this seems tricky to fix -- the best idea I have is to add more output normalization and convert the quoted to the unquoted form, but that comes with its own risks. My original reason for submitting this issue has been resolved on our side (by rpm-software-management/rpm#3160), so I'm fine with this just being "won't fix". |
Without someone being blocked on this, I don't see a reason to put in the investment to find a way to resolve this. |
Problem
If the directory where cargo is checked out contains a special character like
~
, then many tests fail. See https://gist.github.com/nikic/97fab137a6d02c33cf8df9cf56a17cd7 for a full list of failures (a handful are unrelated, but most are due to the directory name).Part of the issue seems to be that the
[..]
wildcard doesn't match~
. This is probably easy to fix.The other part of the problem is that the special character introduces quoting in rustc options, so something might expect
-C incremental=...
but get-C 'incremental=...'
instead.Steps
Possible Solution(s)
No response
Notes
No response
Version
No response
The text was updated successfully, but these errors were encountered: