GNOME Bugzilla – Bug 590803
checks fail in non-English locale
Last modified: 2009-08-08 20:50:10 UTC
This is on Mandriva Cooker using the de_DE.UTF-8 locale. The command make check fails like this: ====================================================================== FAIL: testDecoderDescription (test_pbutils.Descriptions) ---------------------------------------------------------------------- Traceback (most recent call last):
+ Trace 216792
'MPEG-1 Layer 3 (MP3) decoder')
====================================================================== FAIL: testElementDescription (test_pbutils.Descriptions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/goetz/svn/gstreamer0.10-python/BUILD/gst-python-0.10.16/testsuite/test_pbutils.py", line 53, in testElementDescription "GStreamer element something") AssertionError: 'GStreamer Element something' != 'GStreamer element something' ====================================================================== FAIL: testEncoderDescription (test_pbutils.Descriptions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/goetz/svn/gstreamer0.10-python/BUILD/gst-python-0.10.16/testsuite/test_pbutils.py", line 48, in testEncoderDescription 'MPEG-1 Layer 3 (MP3) encoder') AssertionError: 'MPEG-1 Layer 3 (MP3)-Encoder' != 'MPEG-1 Layer 3 (MP3) encoder' ====================================================================== FAIL: testSourceDescription (test_pbutils.Descriptions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/goetz/svn/gstreamer0.10-python/BUILD/gst-python-0.10.16/testsuite/test_pbutils.py", line 28, in testSourceDescription "FILE protocol source") AssertionError: 'FILE Protokollquelle' != 'FILE protocol source' ---------------------------------------------------------------------- Ran 135 tests in 70.423s FAILED (failures=4) A workaround is to export LC_ALL=C
commit aa92fc1bd75179b871e3667247ded02bddef6762 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Sat Aug 8 22:49:16 2009 +0200 Use LC_ALL=C for the tests as some are comparing localized strings Fixes bug #590803.