summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2015-12-16 17:21:35 -0800
committerDylan Baker <baker.dylan.c@gmail.com>2016-01-21 14:13:33 -0800
commitd1cc63f507633a7314249a90523a58143d4c3878 (patch)
tree0a6361fc1c61de51d456b5e97b01e80e7621fef4
parent09fc4303c9f300fe47a1a877eb3f4f3f15a66b68 (diff)
framework/backends/junit.py; timeouts are errors
Previously a timeout would be marked as pass, but that makes no sense. This marks it as an error. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
-rw-r--r--framework/backends/junit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/backends/junit.py b/framework/backends/junit.py
index 8eb6173c2..16e5cc138 100644
--- a/framework/backends/junit.py
+++ b/framework/backends/junit.py
@@ -150,7 +150,7 @@ class JUnitBackend(FileBackend):
else:
res = etree.SubElement(element, 'failure')
- elif data.result == 'crash':
+ elif data.result in ['crash', 'timeout']:
if expected_result == "error":
err.text += "\n\nWARN: passing test as an expected crash"
res = etree.SubElement(element, 'skipped',