From a574917d8a41b90128a846eb36ff844237e4baf6 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Thu, 28 Nov 2013 00:39:13 +0000 Subject: [PATCH] test_gnc_setlocale: Print diagnostic message, replacing comment. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23451 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/libqof/qof/test/test-gnc-date.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/libqof/qof/test/test-gnc-date.c b/src/libqof/qof/test/test-gnc-date.c index a91ca029c3..d22728ec6d 100644 --- a/src/libqof/qof/test/test-gnc-date.c +++ b/src/libqof/qof/test/test-gnc-date.c @@ -428,12 +428,6 @@ test_gnc_date_string_to_monthformat (void) 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 @@ test_gnc_setlocale (int category, gchar *locale) 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