Commit f8983c59 authored by Dylan Baker's avatar Dylan Baker

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's avatarDylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Ilia Mirkin's avatarIlia Mirkin <imirkin@alum.mit.edu>
parent cf53b461
......@@ -416,7 +416,9 @@ class Summary:
env=value.get('environment', None),
returncode=value.get('returncode', 'None'),
time=value.get('time', 'None'),
info=value.get('info', 'None'),
info=value.get('info', None), # deprecated
out=value.get('out', 'None'),
err=value.get('err', 'None'),
traceback=value.get('traceback', 'None'),
command=value.get('command', 'None'),
dmesg=dmesg,
......
......@@ -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>
......
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