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 762950 - test-suite fails if older version of nm-applet is installed
test-suite fails if older version of nm-applet is installed
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-03-01 20:22 UTC by Michael Biebl
Modified: 2016-03-11 18:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Biebl 2016-03-01 20:22:39 UTC
Version: 1.1.91

This is related to bug report https://bugzilla.gnome.org/show_bug.cgi?id=760966
which was fixed by using the translated string for _("Default").
See commit d78403cba72bad8d76c5f4dfb5ee9d98ae04a561

Unfortunately, this fails, if an older version of nm-applet is already installed on the build system (in my case 1.1.90). 
Manually removing /usr/share/locale/de/LC_MESSAGES/nm-applet.mo did make the test pass again. Apparently the system wide translation files are preferred over the translations in the current build.
I'm not sure if this is fixable. I still think it's better to run the tests under a fixed locale like C.UTF-8
Comment 1 Michael Biebl 2016-03-01 20:25:13 UTC
For completeness sake, the test-suite error message is (again)

ERROR:test-mobile-providers.c:324:ensure_movistar: assertion failed (nma_mobile_access_method_get_name (method) == _("Default")): ("Vorgabe" == "Default")
FAIL test-mobile-providers (exit status: 134)
Comment 2 Thomas Haller 2016-03-02 09:07:35 UTC
I couldn't figure out how to fix that properly to use the correct translations.

Anyway, since only one translated value is check, I just removed the check

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