summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2013-08-08 20:11:54 -0700
committerKenneth Graunke <kenneth@whitecape.org>2013-08-15 11:20:15 -0700
commit2b5bfe38049c64253ccdaaa7c0881632b25e15b8 (patch)
tree96abd500a739b0a994aeb8f0122b30c2f2f72b03 /templates
parent981d47e4da6442063856344bf598c00bc9be7fe2 (diff)
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 <baker.dylan.c@gmail.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/test_result.mako7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/test_result.mako b/templates/test_result.mako
index 12cb081d7..410dbb48a 100644
--- a/templates/test_result.mako
+++ b/templates/test_result.mako
@@ -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>