validate:launcher: add quotes to the file path

When folder name contains space or other special characters,
it fails to recognise the same and error is thrown. Adding the path
inside  to recognise the same

https://bugzilla.gnome.org/show_bug.cgi?id=752611
This commit is contained in:
Vineeth T M 2015-07-20 19:37:41 +09:00 committed by Luis de Bethencourt
parent 074406bc2c
commit aa6aebe41e

View file

@ -396,7 +396,7 @@ class GstValidateLaunchTest(GstValidateTest):
self.add_arguments(self.pipeline_desc)
if self.media_descriptor is not None and self.media_descriptor.get_path():
self.add_arguments(
"--set-media-info", self.media_descriptor.get_path())
"--set-media-info", '"' + self.media_descriptor.get_path() + '"')
class GstValidateMediaCheckTest(GstValidateTest):
@ -415,7 +415,7 @@ class GstValidateMediaCheckTest(GstValidateTest):
def build_arguments(self):
Test.build_arguments(self)
self.add_arguments(self._uri, "--expected-results",
self._media_info_path)
'"' + self._media_info_path + '"')
class GstValidateTranscodingTest(GstValidateTest, GstValidateEncodingTestInterface):