[Piglit] [PATCH 2/6] framework/test/gtest.py: add super call in interpret_result

baker.dylan.c at gmail.com baker.dylan.c at gmail.com
Tue Oct 20 17:07:20 PDT 2015


From: Dylan Baker <baker.dylan.c at gmail.com>

This is required to get the crash and warn status.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 framework/test/gtest.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/framework/test/gtest.py b/framework/test/gtest.py
index 8d239af..6eba4cb 100644
--- a/framework/test/gtest.py
+++ b/framework/test/gtest.py
@@ -22,7 +22,7 @@
 # Authors: Tom Stellard <thomas.stellard at amd.com>
 #
 
-from __future__ import print_function, absolute_import 
+from __future__ import print_function, absolute_import
 import re
 
 from .base import Test
@@ -44,4 +44,5 @@ class GTest(Test):
         else:
             #If we get here, then the test probably exited early.
             self.result.result = 'fail'
-        return out
+
+        super(GTest, self).interpret_result()
-- 
2.6.1



More information about the Piglit mailing list