1 # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
3 # Copyright (c) 2014,Thibault Saunier <thibault.saunier@collabora.com>
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2.1 of the License, or (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # Lesser General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this program; if not, write to the
17 # Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18 # Boston, MA 02110-1301, USA.
21 The GstValidate default testsuite
25 from testsuiteutils import update_assets
28 TEST_MANAGER = "validate"
30 BLACKLIST = [("validateextra.*reverse.*Sintel_2010_720p_mkv",
31 "TODO in matroskademux: FIXME: We should build an index during playback or "
32 "when scanning that can be used here. The reverse playback code requires "
33 " seek_index and seek_entry to be set!"),
35 # Subtitles known issues
36 ("validateextra.file.playback.switch_subtitle_track.Sintel_2010_720p_mkv",
37 "https://bugzilla.gnome.org/show_bug.cgi?id=734051"),
38 ("validateextra.rtsp.*subtitle.*Sintel_2010_720p_mkv$",
39 "Subtitles are not exposed on RTSP?")
42 def setup_tests(test_manager, options):
43 assets_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "medias", "big"))
45 if not update_assets(options, assets_dir):
48 options.add_paths(assets_dir)
49 test_manager.set_default_blacklist(BLACKLIST)
50 test_manager.register_defaults()