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

locale warnings issued from Perl can cause test failures. #29

Open
plicease opened this issue Feb 5, 2020 · 0 comments
Open

locale warnings issued from Perl can cause test failures. #29

plicease opened this issue Feb 5, 2020 · 0 comments

Comments

@plicease
Copy link
Member

plicease commented Feb 5, 2020

If you set the locale wrong, it can cause Test::Script tests to fail. There are a couple of ways to address this:

  1. Do nothing, accept we will get a few failed test results from cpantesters
  2. Detect error output from an empty Perl script and refuse to install. Diagnostic that we do not support broken configurations. This saves getting the cpantester failures.
  3. Detect error output from an empty Perl script and try unsetting LANG and LC_COLLATE, LC_ALL, etc. This will let the tests pass (at least in some subset of broken environments), but it might allow dists that depend on this one to fail instead.

None of these options is all that appetizing, so I think we might end up going with number 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant