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 556247 - preset unit test should work with non-writable home directory
preset unit test should work with non-writable home directory
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.20
Other Linux
: Normal enhancement
: 0.10.21
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-14 10:53 UTC by Andrew John Hughes
Modified: 2009-02-03 14:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrew John Hughes 2008-10-14 10:53:39 UTC
Running suite(s): GstPreset
40%: Checks: 5, Failures: 3, Errors: 0
gst/gstpreset.c:188:F:preset:test_add:0: Assertion 'res' failed
gst/gstpreset.c:208:F:preset:test_del:0: Assertion 'res' failed
gst/gstpreset.c:231:F:preset:test_two_instances:0: Assertion 'res' failed
FAIL: gst/gstpreset
Comment 1 Sebastian Dröge (slomo) 2008-10-14 12:41:03 UTC
Could you check if this still happens with 0.10.21? This might be related to your home directory not being writable or something like this.
Comment 2 Tim-Philipp Müller 2009-02-02 23:17:22 UTC
I think we should make the test not fail in this case, either by just skipping the checks which require a writable home directory, or by setting some environment variable and writing to a temp directory.
Comment 3 Tim-Philipp Müller 2009-02-03 14:22:55 UTC
Actually, this has been fixed already, see also bug #546010.

http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=864a45ee13e462574d8c15e09711a0aec7a296f8