summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2014-04-18 06:54:10 -0700
committerDylan Baker <baker.dylan.c@gmail.com>2014-04-18 07:39:06 -0700
commitf8983c5947cd9e47243ea6813a020f2756dc5197 (patch)
tree18a76102d0b14b0eb2b5eaf8705b0a98cdcb9d11 /templates
parentcf53b461387952b899b4df6ad4164444f8dee670 (diff)
framework: Fix html generation to work with recent changes to json
Recent changes to the JSON file spilt stderr, stdout, and returncode values out of a single 'info' string into three distinct values, but didn't update the summary to accept those values. Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'templates')
-rw-r--r--templates/test_result.mako15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/test_result.mako b/templates/test_result.mako
index 490c00951..49e6fd2e7 100644
--- a/templates/test_result.mako
+++ b/templates/test_result.mako
@@ -28,12 +28,27 @@
<td>Time</td>
<td>${time}</b>
</tr>
+ ## Info is deprecated and may disapear someday
+ % if info is not None:
<tr>
<td>Info</td>
<td>
<pre>${info | h}</pre>
</td>
</tr>
+ % endif
+ <tr>
+ <td>Stdout</td>
+ <td>
+ <pre>${out | h}</pre>
+ </td>
+ </tr>
+ <tr>
+ <td>Stderr</td>
+ <td>
+ <pre>${err | h}</pre>
+ </td>
+ </tr>
% if env:
<tr>
<td>Environment</td>