https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103687

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Yet another option would be a new dg- directive (ideally something usable in
effective target expressions) that would invoke (ideally remote)
LC_ALL=$second_arg locale -k $first_arg
and try to match it against the third argument (regex).  So one could verify
the assumptions the test is making,
[dg-locale-test LC_TIME "en_HK" "^t_fmt=\"%I:%M:%S %p %Z\""]
or so.

Reply via email to