validate:launcher: Minor fix in returncode check

This commit is contained in:
Thibault Saunier 2016-09-21 14:10:53 -03:00
parent 2fae2b2342
commit 41be7bb2a9

View file

@ -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