mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
validate:launcher: Fix mixup in media_check tests expected file path
This commit is contained in:
parent
78f91ae8da
commit
86df60e16f
1 changed files with 4 additions and 2 deletions
|
@ -175,13 +175,14 @@ class GstValidateLaunchTest(GstValidateTest):
|
||||||
|
|
||||||
|
|
||||||
class GstValidateMediaCheckTest(Test):
|
class GstValidateMediaCheckTest(Test):
|
||||||
def __init__(self, classname, options, reporter, file_infos, uri, timeout=DEFAULT_TIMEOUT):
|
def __init__(self, classname, options, reporter, file_infos, uri, minfo_path,
|
||||||
|
timeout=DEFAULT_TIMEOUT):
|
||||||
super(GstValidateMediaCheckTest, self).__init__(G_V_DISCOVERER_COMMAND, classname,
|
super(GstValidateMediaCheckTest, self).__init__(G_V_DISCOVERER_COMMAND, classname,
|
||||||
options, reporter,
|
options, reporter,
|
||||||
timeout=timeout)
|
timeout=timeout)
|
||||||
self._uri = uri
|
self._uri = uri
|
||||||
self.file_infos = file_infos
|
self.file_infos = file_infos
|
||||||
self._media_info_path = urlparse.urlparse(file_infos.get("file-info", "uri")).path
|
self._media_info_path = minfo_path
|
||||||
|
|
||||||
def build_arguments(self):
|
def build_arguments(self):
|
||||||
self.add_arguments(self._uri, "--expected-results",
|
self.add_arguments(self._uri, "--expected-results",
|
||||||
|
@ -306,6 +307,7 @@ class GstValidateManager(TestsManager, Loggable):
|
||||||
self.reporter,
|
self.reporter,
|
||||||
mediainfo.config,
|
mediainfo.config,
|
||||||
uri,
|
uri,
|
||||||
|
mediainfo.path,
|
||||||
timeout=timeout))
|
timeout=timeout))
|
||||||
|
|
||||||
for uri, mediainfo in self._list_uris():
|
for uri, mediainfo in self._list_uris():
|
||||||
|
|
Loading…
Reference in a new issue