[Piglit] [PATCH] tests/igt.py: mark segfaulted IGT process as 'crash'
Tomi Sarvela
tomi.p.sarvela at intel.com
Tue May 16 15:08:48 UTC 2017
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.sarvela at 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
More information about the Piglit
mailing list