validate: Check subprocess return code in rendering tests

This commit is contained in:
Thibault Saunier 2017-08-10 21:38:04 -04:00
parent abb32de25b
commit 3a04a1f76b

View file

@ -184,6 +184,9 @@ class GESRenderTest(GESTest, GstValidateEncodingTestInterface):
def check_results(self):
if self.result in [Result.PASSED, Result.NOT_RUN] and self.scenario is None:
if self.process.returncode != 0:
return super().check_results()
res, msg = self.check_encoded_file()
self.set_result(res, msg)
else: