KF5 Unit test results

Chusslove Illich caslav.ilic at gmx.net
Wed Sep 5 15:45:32 UTC 2012


>> [: Chusslove Illich :]
>> Now all work: Totals: 9 passed, 0 failed, 0 skipped.
>
> [: David Faure :]
> Damn it, so you won't be able to help me debug why it fails for me :(

How about if you stick an i18n call into kde4-config (my favorite for this
purpose :), maybe tests do something funny with the environment? If that
doesn't work either, I'd try pure Gettext call within kde4-config, and also
within pure C code:

  #include <stdio.h>
  #include <locale.h>
  #include <libintl.h>
  int main ()
  {
      setlocale(LC_ALL, "fr_FR.utf8");
      bindtextdomain("kdelibs4", "/usr/share/locale");
      printf("%s\n", dgettext("kdelibs4", "Loadable modules"));
      return 0;
  }

-- 
Chusslove Illich (Часлав Илић)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20120905/3846105e/attachment.sig>


More information about the Kde-frameworks-devel mailing list