diff options
author | Thibault Saunier <thibault.saunier@collabora.com> | 2014-02-13 15:34:10 +0100 |
---|---|---|
committer | Thibault Saunier <thibault.saunier@collabora.com> | 2014-02-18 21:07:31 +0100 |
commit | 32d9d5dc446124d7e699c82d29467fc49fca0782 (patch) | |
tree | 37462604492ca3183e07de3ba30e44e733c218ca | |
parent | 0449817c11f45b705fc4a88de541f4c9c3ba7a65 (diff) |
validate:launcher: Properly classify test for media check
-rw-r--r-- | validate/tools/launcher/apps/gst-validate.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/validate/tools/launcher/apps/gst-validate.py b/validate/tools/launcher/apps/gst-validate.py index 3ffd52e..7d7b209 100644 --- a/validate/tools/launcher/apps/gst-validate.py +++ b/validate/tools/launcher/apps/gst-validate.py @@ -270,12 +270,14 @@ class GstValidateManager(TestsManager, Loggable): self._add_playback_test(test_pipeline) for uri, mediainfo in self._list_uris(): + protocol = mediainfo.config.get("file-info", "protocol") try: - timeout = G_V_PROTOCOL_TIMEOUTS[mediainfo.config.get("file-info", "protocol")] + timeout = G_V_PROTOCOL_TIMEOUTS[protocol] except KeyError: timeout = DEFAULT_TIMEOUT - classname = "validate.media_check.%s" % (os.path.basename(uri).replace(".", "_")) + classname = "validate.%s.media_check.%s" % (protocol, + os.path.basename(uri).replace(".", "_")) self.add_test(GstValidateMediaCheckTest(classname, self.options, self.reporter, |