After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760966 - test-suite failure for non-C locale
test-suite failure for non-C locale
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: nm-applet
git master
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-01-22 03:33 UTC by Michael Biebl
Modified: 2016-03-11 18:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Biebl 2016-01-22 03:33:30 UTC
My locale is de_DE.UTF-8

When I run the test-suite for nm-applet, it fails:

/MobileProvidersDatabase/ensure-providers-content-3gpp: **
ERROR:test-mobile-providers.c:320:ensure_movistar: assertion failed (nma_mobile_access_method_get_name (method) == "Default"): ("Vorgabe" == "Default")
Makefile:691: die Regel für Ziel „check-local“ scheiterte


This failure is due to the German locale.
Running with LANG=C make check (or LANG=C.UTF-8) succeeds.

I would suggest that the test suite sets the locale internally.
Comment 1 Thomas Haller 2016-01-24 15:46:01 UTC
instead I just fixed the test to compare the localized string:

https://git.gnome.org/browse/network-manager-applet/commit/?id=d78403cba72bad8d76c5f4dfb5ee9d98ae04a561