On IGT testing segfaulted processes are lumped together with failed 
tests in results. This patch separates the two for correctness: test 
doesn't have opportunity to fail if it wasn't even run.

On our testing environment segfaulted IGT tests point to problem on 
builder or testhost side, not to the testcase itself.

Signed-off-by: Tomi Sarvela <tomi.p.sarv...@intel.com>
---
 tests/igt.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/igt.py b/tests/igt.py
index 87b61dc..e6d3963 100644
--- a/tests/igt.py
+++ b/tests/igt.py
@@ -122,6 +122,8 @@ class IGTTest(Test):
             self.result.result = 'skip'
         elif self.result.returncode == 78:
             self.result.result = 'timeout'
+        elif self.result.returncode == 139:
+            self.result.result = 'crash'
         else:
             self.result.result = 'fail'
 
-- 
2.9.3
_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to