mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
validate:launcher: Minor fix in returncode check
This commit is contained in:
parent
2fae2b2342
commit
41be7bb2a9
1 changed files with 1 additions and 1 deletions
|
@ -776,7 +776,7 @@ class GstValidateTest(Test):
|
|||
result = Result.FAILED
|
||||
elif self.process.returncode not in expected_returncode:
|
||||
msg = "Application returned %s " % self.process.returncode
|
||||
if expected_returncode != 0:
|
||||
if expected_returncode != [0]:
|
||||
msg += "(expected %s) " % expected_returncode
|
||||
result = Result.FAILED
|
||||
|
||||
|
|
Loading…
Reference in a new issue