From 5d1d8e6971955793ce1e1d212da3eb48a09efd63 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Fri, 3 Feb 2017 11:02:49 -0300 Subject: [PATCH] validate:launcher: Verify that Gst supression file could be found --- validate/launcher/baseclasses.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/validate/launcher/baseclasses.py b/validate/launcher/baseclasses.py index 76d45c7c5d..3f9e58ba31 100644 --- a/validate/launcher/baseclasses.py +++ b/validate/launcher/baseclasses.py @@ -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):