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 320463 - glib-cvs 'make check' fails on "run-collate-tests.sh" on OSX 10.4.3
glib-cvs 'make check' fails on "run-collate-tests.sh" on OSX 10.4.3
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
2.8.x
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
: 321985 323034 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-11-02 03:40 UTC by OpenMacNews
Modified: 2011-02-18 15:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description OpenMacNews 2005-11-02 03:40:40 UTC
Please describe the problem:
'make check' of glib-cvs (1 Nov 05) fails 1/43:

2d1
< GTK+
8a8
> GTK+
Test failed: unexpected error when using g_utf8_collate() on ./collate/collate-1.in
FAIL: run-collate-tests.sh
=====================================================================
1 of 43 tests failed
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=glib
=====================================================================
make[4]: *** [check-TESTS] Error 1
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2


Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Matthias Clasen 2005-11-30 16:27:26 UTC
I think the test needs to set the locale. Does it still fail if you run it with
LANG=en_US.UTF8 ?
Comment 2 OpenMacNews 2005-11-30 17:43:23 UTC
hi matthias,

repeating 'make check' with:

  LANG=C
  LANG=en_US
  LANG=en_US.UTF8

yields the same results: 1 'fail', as above
Comment 3 Manish Singh 2005-11-30 20:08:43 UTC
setting LC_COLLATE=en_US or en_US.UTF-8 in the script should fix it, but that
assumes those locales exist on the system.

Could also change the test case to not have mixed case at all, but perhaps that
doesn't test what needs to be tested then?

Perhaps set LC_COLLATE=C and assume case sensitive sorting. Then again, that
might also not test what needs to be tested.
Comment 4 Behdad Esfahbod 2005-12-02 23:06:38 UTC
*** Bug 321985 has been marked as a duplicate of this bug. ***
Comment 5 Matthias Clasen 2005-12-05 16:35:45 UTC
	* tests/run-collate-tests.sh: Run the collation tests explicitly 
	in en_US locale. (#320463)

Comment 6 Matthias Clasen 2007-03-19 02:55:36 UTC
*** Bug 323034 has been marked as a duplicate of this bug. ***