GNOME Bugzilla – Bug 546010
gstpreset does not respect $HOME
Last modified: 2009-05-07 13:38:15 UTC
gstpreset does not respect $HOME on non-windows machines. This makes running the gstpreset tests harder as it requires you to allow the tests to write configuration data to a user's home directory. It would be nice to respect the $HOME environment variable so that tests can be run with HOME set to a temporary location (HOME=/tmp/gstreamer-test-home make check).
Created attachment 115740 [details] [review] gstreamer-0.10.20-gst-gstpreset-respect-env.patch Attached patch allows gstpreset to respect $HOME and $GST_DATADIR as the comments state. It may be a bit overzealous with respecting the environment ($GST_DATADIR).
Bug #518597 will fix the issue.
Please don't get me wrong. I don't want special case work-around here. I'll dig out the code that skips the test and it fixes running the tests. Next we should discuss how to progress with #518597.
I committed that missing change that skips three of 5 tests if HOME is not writeable. I will wait for consensus of the project regarding proper fixing.
Ok, let's close this bug as WONTFIX then...