Commit 2b5bfe38 authored by Kenneth Graunke's avatar Kenneth Graunke

summary: Include traceback in the summary files.

If the Python framework fails to run a program for some reason, it'll
record a 'fail' status.  It also records a 'traceback' key in the
dictionary.

The new summary code missed this when writing the test detail page,
resulting in tests marked as 'fail' with no indication as to why.
Reviewed-by: Dylan Baker's avatarDylan Baker <baker.dylan.c@gmail.com>
Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
parent 981d47e4
......@@ -545,6 +545,7 @@ class Summary:
returncode=value.get('returncode', 'None'),
time=value.get('time', 'None'),
info=value.get('info', 'None'),
traceback=value.get('traceback', 'None'),
command=value.get('command', 'None'),
css=path.relpath(resultCss, tPath),
index=index))
......
......@@ -40,6 +40,13 @@
</pre>${command}</pre>
</td>
</tr>
<tr>
<td>Traceback</td>
<td>
<pre>${traceback}</pre>
</td>
</tr>
</table>
<p><a href="${index}">Back to summary</a></p>
</body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment