develooper Front page | perl.perl5.porters | Postings from March 2019

Re: [perl #133945] ce6f496d720f6206455628425320badd95b07372 breaksfloat formatting under GTK

Thread Previous | Thread Next
Dmitry Karasik
March 21, 2019 14:28
Re: [perl #133945] ce6f496d720f6206455628425320badd95b07372 breaksfloat formatting under GTK
Message ID:
> In order to run the tests in your tarball, I would have to become the root
> user (or sudo) and change the default locale.  I am reluctant to do that and,
> in any case, we have to be able to run the Perl 5 core test suite as non-root
> users.

That's not entirely correct. You may need to become root to install the
prerequisites (gtk headers and ExtUtils::PkgConfig you can install locally
though), but locales are OS-specific by design, and if yours has a way to use
one without root, that's great.  However the tests themselves don't need root.

> Could your tests be modified so that an ordinary user could run them?

If p5 core has already tests for another locale, simulating file access required to
load proper de_DE.UTF-8 or similar, please point me to them and I can try to hack on.
Otherwise I know about locale-dependend tests as much as the next guy, unfortunately,
but again, tests are completely fine with an ordinary user, provided proper prerequisites
are installed.


> Thank you very much.
> -- 
> James E Keenan (

	Dmitry Karasik

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About