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