-
Notifications
You must be signed in to change notification settings - Fork 28
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
Build tests fail under perl 5.36 on Windows 10 #55
Comments
As suggested over on a Strawberry Perl issues forum, I removed the $^O override in
|
The test fails because $^O is set to 'Unix'. If I comment out the offending BEGIN{} block at the very start of t/01-basic.t and hard code the assignment of 'Unix' to $module in File/Spec.pm then all files pass. I doubt that File::Spec intended for $^O to be bludgeoned just so 'Unix' path formatting could be obtained on Windows. So I think the thing to do is to have t/01-basic.t written so that it can run its tests without overwriting $^O. There's some discussion of other weirdnesses related to the overriding of $^O at https://www.perlmonks.org/?node_id=11145885 . Cheers, |
Yeah, If A short-term fix that's basically equivalent to the current testing situation would be to have |
That suggests that |
You can just use |
That would seem to be possible:
|
The module fails on build tests under perl 5.36 on Windows 10. The test
from file
01-basic.t
fails with the errorThe text was updated successfully, but these errors were encountered: