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:
Thibault Saunier 2014-01-10 15:27:46 +01:00
parent 49cca6a329
commit 32e1acbf88
2 changed files with 5 additions and 5 deletions

View file

@ -36,9 +36,6 @@ COMBINATIONS = [
utils.MediaFormatCombination("mkv", "vorbis", "h264")]
SCENARIOS = ["none", "seek_forward", "seek_backward", "scrub_forward_seeking"]
def quote_uri(uri):
"""
Encode a URI/path according to RFC 2396, without touching the file:/// part.
@ -210,6 +207,7 @@ class GESTestsManager(TestsManager):
else:
projects.append(utils.path2url(proj))
SCENARIOS = ["none", "seek_forward", "seek_backward", "scrub_forward_seeking"]
for proj in projects:
# First playback casses
for scenario in SCENARIOS:

View file

@ -39,8 +39,6 @@ SEEKING_REQUIERED_SCENARIO = ["seek_forward", "seek_backward", "scrub_forward_se
SPECIAL_PROTOCOLS = [("application/x-hls", "hls")]
PLAYBACK_TESTS = ["playbin uri=__uri__ audio_sink=autoaudiosink video_sink=autovideosink"]
SCENARIOS = ["none", "seek_forward", "seek_backward", "scrub_forward_seeking"]
COMBINATIONS = [
MediaFormatCombination("ogg", "vorbis", "theora"),
MediaFormatCombination("webm", "vorbis", "vp8"),
@ -127,6 +125,10 @@ class GstValidateManager(TestsManager, Loggable):
% DISCOVERER_COMMAND[0])
def list_tests(self):
SCENARIOS = ["none", "simple_backward",
"fast_forward", "seek_forward",
"seek_backward", "scrub_forward_seeking"]
for test_pipeline in PLAYBACK_TESTS:
name = "validate.playback"
for scenario in SCENARIOS: