mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
validate: Run IQA tests when possible
Meaning that a reference file has to be present on disk with a `.expected_result` extension.
This commit is contained in:
parent
36aa60b010
commit
ab956c20e8
1 changed files with 5 additions and 0 deletions
|
@ -171,6 +171,11 @@ class GESRenderTest(GESTest, GstValidateEncodingTestInterface):
|
|||
GESTest.build_arguments(self)
|
||||
self._set_rendering_info()
|
||||
|
||||
def run_external_checks(self):
|
||||
reference_file_path = urllib.parse.urlsplit(self.media_descriptor.get_uri()).path + ".expected_result"
|
||||
if os.path.exists(reference_file_path):
|
||||
self.run_iqa_test(utils.path2url(reference_file_path))
|
||||
|
||||
def _set_rendering_info(self):
|
||||
self.dest_file = path = os.path.join(self.options.dest,
|
||||
self.classname.replace(".render.", os.sep).
|
||||
|
|
Loading…
Reference in a new issue