Re: PATCH: redefine $decimal, $hex, $text vars

Ben Elliston <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <[email protected]>
On Thu, Dec 13, 2018 at 12:01:30AM -0600, Jacob Bachmeyer wrote:

> Are we sure that DejaGnu should be sensitive to locales at all?
> Perhaps the runtest shell script should always export LOCALE=C?

What if I want to test locale support in an application? I think
forcing LANG=C is rather heavy handed.

> Generally, matching non-ASCII characters in non-English locales
> sounds like a good idea at first glance, but I expect it to prove to
> be another "hidden influence" that users are likely to overlook.  We
> would need to be very careful about this, and changing variables
> that existing testsuites might depend on in this way is fraught with
> peril.

Yes, that's the strongest argument for not changing it.  The value of
these variables are effectively part of the public API. I checked some
of the GNU testsuites and they use these extensively.

Cheers, Ben

_______________________________________________
DejaGnu mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/dejagnu
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEFS8+rdM1/2KWERKFZ9rcPj90NkkFAlwSM44ACgkQZ9rcPj90
Nkmh3Q//bIfwBREJPM5qmt6rfolM9lwvIXigK5NDFs4L5dE497o8Ne0v8SxqKGoJ
cFBD91RGy1OTP73IiITxpG/bCxMNrbxnSurTraPoCbSo9mFa222msRVI+7vf/3eE
mfR2c2yWc7krV+QMMJKMPA2aJyfDFn+sA8RgjE4/yssnQlvGKQEexjIKBOCunOiT
LaxKTOiEQRpgnbbtqs8B2Xkbode0BbaGtgym4WTg0u3Z2xU7KwnHB/Vj1GumNVx2
1bc2W1Ec6NT8cdvaszzvOeO2J5IiSuYwF5Cp0uCbJwlwxIP7VbNTTwlBnleJ2in+
RZYzaeleC/ok0s7Pz6I446YTJT5cHgmbEYkXCWaYhGcpyizUAUvHw9FutEiO8drv
FOzd1eAuvlWSTKYNjT+jxnuuUFGPJczNrzRowCJO+g+P83SVuvHAux0lC0pcLSty
ioZ32f2CtMFU6ZluD3ukNIFIG6oU27lIm2byVntXsYN8jEexiVh9iITeC2xPsXGW
7If0W0/1z2H+nUglZB3wJ18jkP00urPit/nQ1YVGq2MNTJl++6v7yiDaA/OxbXPH
zhLRip/KGnSYXwdIQHtUZy3na6/IrhbAaJL8eA2YxncMJn6C6H2sN4Iiv3/eUn3i
q+N0yd5o00OPdrBNyOihzK8z6Oi6Pwa8xImoW/eM2SS8TpAs8E8=
=JPeD
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.