mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
validate: generate test names with the stream_info filename.
And not with the contained uri string, which is variable.
This commit is contained in:
parent
3979c49cd2
commit
99204c0018
1 changed files with 6 additions and 2 deletions
|
@ -92,9 +92,12 @@ class GstValidateTranscodingTestsGenerator(GstValidateTestsGenerator):
|
|||
continue
|
||||
|
||||
for comb in self.test_manager.get_encoding_formats():
|
||||
suffix = os.path.basename (mediainfo.media_descriptor.get_path())
|
||||
suffix = suffix.replace (".media_info", "")
|
||||
suffix = suffix.replace (".stream_info", "")
|
||||
classname = "validate.%s.transcode.to_%s.%s" % (mediainfo.media_descriptor.get_protocol(),
|
||||
str(comb).replace(' ', '_'),
|
||||
os.path.basename(uri).replace(".", "_"))
|
||||
suffix)
|
||||
self.add_test(GstValidateTranscodingTest(classname,
|
||||
self.test_manager.options,
|
||||
self.test_manager.reporter,
|
||||
|
@ -179,7 +182,8 @@ class GstValidatePlaybinTestsGenerator(GstValidatePipelineTestsGenerator):
|
|||
|
||||
fname = "%s.%s" % (self.get_fname(scenario,
|
||||
protocol),
|
||||
os.path.basename(uri).replace(".", "_"))
|
||||
os.path.basename(minfo.media_descriptor.get_path()).replace(".stream_info",
|
||||
'').replace(".media_info", ''))
|
||||
self.debug("Adding: %s", fname)
|
||||
|
||||
if scenario.does_reverse_playback() and protocol == Protocols.HTTP:
|
||||
|
|
Loading…
Reference in a new issue