validate:launcher: Verify that Gst supression file could be found

This commit is contained in:
Thibault Saunier 2017-02-03 11:02:49 -03:00
parent 775564187d
commit 5d1d8e6971

View file

@ -867,7 +867,10 @@ class GstValidateTest(Test):
def get_valgrind_suppressions(self):
result = super(GstValidateTest, self).get_valgrind_suppressions()
return result + [self.get_valgrind_suppression_file('common', 'gst.supp')]
gst_sup = self.get_valgrind_suppression_file('common', 'gst.supp')
if gst_sup:
resut.append(gst_sup)
return result
class GstValidateEncodingTestInterface(object):