mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
validate:launcher: Make sure TIMEOUTs do not get converted to ERROR
This was a regression introduced in c0e3d2e4f1
This commit is contained in:
parent
87064b6994
commit
08d8e01f21
1 changed files with 2 additions and 2 deletions
|
@ -180,8 +180,7 @@ class Test(Loggable):
|
|||
self.set_result(Result.PASSED)
|
||||
else:
|
||||
self.set_result(Result.FAILED,
|
||||
"Application returned %d" % (
|
||||
self.process.returncode))
|
||||
"Application returned %d" % (self.process.returncode))
|
||||
|
||||
def get_current_value(self):
|
||||
"""
|
||||
|
@ -427,6 +426,7 @@ class GstValidateTest(Test):
|
|||
self.debug("%s returncode: %s", self, self.process.returncode)
|
||||
if self.result == Result.TIMEOUT:
|
||||
self.set_result(Result.TIMEOUT, "Application timed out", "timeout")
|
||||
return
|
||||
|
||||
criticals = self.get_validate_criticals_errors()
|
||||
if self.process.returncode == 139:
|
||||
|
|
Loading…
Reference in a new issue