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 590803 - checks fail in non-English locale
checks fail in non-English locale
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
0.10.16
Other Linux
: Normal minor
: 0.10.17
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-05 07:42 UTC by Götz Waschk
Modified: 2009-08-08 20:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28



Description Götz Waschk 2009-08-05 07:42:32 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):
  • File "/home/goetz/svn/gstreamer0.10-python/BUILD/gst-python-0.10.16/testsuite/test_pbutils.py", line 38 in testDecoderDescription
    'MPEG-1 Layer 3 (MP3) decoder')
AssertionError: 'MPEG-1 Layer 3 (MP3)-Decoder' != '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
Comment 1 Sebastian Dröge (slomo) 2009-08-08 20:50:10 UTC
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.