Commit 132e55c9 authored by Committed by Philip Chimento
build: Look for suitable locale to run tests in
Apparently only newer libcs define a C.UTF-8 locale (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636086). Notably, in the Freedesktop SDK there is no C.UTF-8 locale. This tests using "locale -a" if the C.UTF-8 locale is available, before selecting it. If it is not available, we try to find a reasonable fallback, preferring English locales in order to make it easier to share debug output in bug reports.
Showing with 27 additions and 1 deletion