r23451 - gnucash/trunk/src/libqof/qof/test - test_gnc_setlocale: Print diagnostic message, replacing comment.
John Ralls
jralls at code.gnucash.org
Wed Nov 27 19:39:13 EST 2013
Author: jralls
Date: 2013-11-27 19:39:13 -0500 (Wed, 27 Nov 2013)
New Revision: 23451
Trac: http://svn.gnucash.org/trac/changeset/23451
Modified:
gnucash/trunk/src/libqof/qof/test/test-gnc-date.c
Log:
test_gnc_setlocale: Print diagnostic message, replacing comment.
Modified: gnucash/trunk/src/libqof/qof/test/test-gnc-date.c
===================================================================
--- gnucash/trunk/src/libqof/qof/test/test-gnc-date.c 2013-11-28 00:38:57 UTC (rev 23450)
+++ gnucash/trunk/src/libqof/qof/test/test-gnc-date.c 2013-11-28 00:39:13 UTC (rev 23451)
@@ -428,12 +428,6 @@
g_assert_cmpint (fmt, ==, 123);
}
-/* There are some differences between distros in the way they name
- * locales, and this can cause trouble with the locale-based
- * formatting. If you get the assert in this function, run locale -a
- * and make sure that en_US, en_GB, and fr_FR are installed and that
- * if a suffix is needed it's in the suffixes array.
- */
static void
test_gnc_setlocale (int category, gchar *locale)
{
@@ -463,6 +457,11 @@
if (localeval != NULL)
return;
}
+ g_fprintf (stderr, "There are some differences between distros in the way they name"
+ "locales, and this can cause trouble with the locale-based"
+ "formatting. If you get the assert in this function, run locale -a"
+ "and make sure that en_US, en_GB, and fr_FR are installed and that"
+ "if a suffix is needed it's in the suffixes array.");
g_assert_not_reached ();
}
/* timespec_normalize
More information about the gnucash-changes
mailing list