summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFi Jenkins <tomi.p.sarvela@intel.com>2017-05-16 18:08:48 +0300
committerMartin Peres <martin.peres@linux.intel.com>2017-06-14 13:27:05 +0300
commite0db29cc87c7162dadf6d36ee772cb04f8033b9f (patch)
tree69d9c602a0924f2d40715c053c5140971f736235 /tests
parentf78d0e82f3fb1ba00e8e75c164d01a66a5875b74 (diff)
tests/igt.py: mark segfaulted IGT process as 'crash'
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@intel.com> Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/igt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/igt.py b/tests/igt.py
index 87b61dccb..e6d396396 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'