mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
validate: check VALGRIND_ERROR_CODE in Test as well
We were doing it only in GstValidateTest which was overriding the default implementation.
This commit is contained in:
parent
9ad79ffcbc
commit
4f805422a7
1 changed files with 2 additions and 0 deletions
|
@ -185,6 +185,8 @@ class Test(Loggable):
|
|||
self.set_result(Result.TIMEOUT, "Application timed out", "timeout")
|
||||
elif self.process.returncode == 0:
|
||||
self.set_result(Result.PASSED)
|
||||
elif self.process.returncode == VALGRIND_ERROR_CODE:
|
||||
self.set_result(Result.FAILED, "Valgrind reported errors")
|
||||
else:
|
||||
self.set_result(Result.FAILED,
|
||||
"Application returned %d" % (self.process.returncode))
|
||||
|
|
Loading…
Reference in a new issue