summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2013-08-09 03:11:54 (GMT)
committerKenneth Graunke <kenneth@whitecape.org>2013-08-15 18:20:15 (GMT)
commit2b5bfe38049c64253ccdaaa7c0881632b25e15b8 (patch)
tree96abd500a739b0a994aeb8f0122b30c2f2f72b03 /templates
parent981d47e4da6442063856344bf598c00bc9be7fe2 (diff)
downloadpiglit-2b5bfe38049c64253ccdaaa7c0881632b25e15b8.tar.gz
piglit-2b5bfe38049c64253ccdaaa7c0881632b25e15b8.tar.xz
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 12cb081..410dbb4 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>