mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 02:30:35 +00:00
validate:tools: use more scenarios in gst-validate launcher
And ensure that the list does not get mixed up with as we are sharing "symboles" between all the files
This commit is contained in:
parent
49cca6a329
commit
32e1acbf88
2 changed files with 5 additions and 5 deletions
|
@ -36,9 +36,6 @@ COMBINATIONS = [
|
||||||
utils.MediaFormatCombination("mkv", "vorbis", "h264")]
|
utils.MediaFormatCombination("mkv", "vorbis", "h264")]
|
||||||
|
|
||||||
|
|
||||||
SCENARIOS = ["none", "seek_forward", "seek_backward", "scrub_forward_seeking"]
|
|
||||||
|
|
||||||
|
|
||||||
def quote_uri(uri):
|
def quote_uri(uri):
|
||||||
"""
|
"""
|
||||||
Encode a URI/path according to RFC 2396, without touching the file:/// part.
|
Encode a URI/path according to RFC 2396, without touching the file:/// part.
|
||||||
|
@ -210,6 +207,7 @@ class GESTestsManager(TestsManager):
|
||||||
else:
|
else:
|
||||||
projects.append(utils.path2url(proj))
|
projects.append(utils.path2url(proj))
|
||||||
|
|
||||||
|
SCENARIOS = ["none", "seek_forward", "seek_backward", "scrub_forward_seeking"]
|
||||||
for proj in projects:
|
for proj in projects:
|
||||||
# First playback casses
|
# First playback casses
|
||||||
for scenario in SCENARIOS:
|
for scenario in SCENARIOS:
|
||||||
|
|
|
@ -39,8 +39,6 @@ SEEKING_REQUIERED_SCENARIO = ["seek_forward", "seek_backward", "scrub_forward_se
|
||||||
SPECIAL_PROTOCOLS = [("application/x-hls", "hls")]
|
SPECIAL_PROTOCOLS = [("application/x-hls", "hls")]
|
||||||
|
|
||||||
PLAYBACK_TESTS = ["playbin uri=__uri__ audio_sink=autoaudiosink video_sink=autovideosink"]
|
PLAYBACK_TESTS = ["playbin uri=__uri__ audio_sink=autoaudiosink video_sink=autovideosink"]
|
||||||
SCENARIOS = ["none", "seek_forward", "seek_backward", "scrub_forward_seeking"]
|
|
||||||
|
|
||||||
COMBINATIONS = [
|
COMBINATIONS = [
|
||||||
MediaFormatCombination("ogg", "vorbis", "theora"),
|
MediaFormatCombination("ogg", "vorbis", "theora"),
|
||||||
MediaFormatCombination("webm", "vorbis", "vp8"),
|
MediaFormatCombination("webm", "vorbis", "vp8"),
|
||||||
|
@ -127,6 +125,10 @@ class GstValidateManager(TestsManager, Loggable):
|
||||||
% DISCOVERER_COMMAND[0])
|
% DISCOVERER_COMMAND[0])
|
||||||
|
|
||||||
def list_tests(self):
|
def list_tests(self):
|
||||||
|
SCENARIOS = ["none", "simple_backward",
|
||||||
|
"fast_forward", "seek_forward",
|
||||||
|
"seek_backward", "scrub_forward_seeking"]
|
||||||
|
|
||||||
for test_pipeline in PLAYBACK_TESTS:
|
for test_pipeline in PLAYBACK_TESTS:
|
||||||
name = "validate.playback"
|
name = "validate.playback"
|
||||||
for scenario in SCENARIOS:
|
for scenario in SCENARIOS:
|
||||||
|
|
Loading…
Reference in a new issue