diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2014-01-03 18:44:54 -0800 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2014-04-24 10:37:55 -0700 |
commit | e1057c4aaeddf2ea97abdf6397a974eb71999577 (patch) | |
tree | c40a339e6ca47110700b18d9a9bb0cd222821493 /templates | |
parent | 45de1cb3fd3843edd8e183390d4e081476c886d8 (diff) |
tests/xts.py: Add a tests file for the X Test suite.
This adds support for running XTS from piglit.
This patch was original written by Eric Anholt, but I've cleaned it up
and reworked parts of it for upstreaming, and as a result I've attached
my name as the author so ``git bisect'' and ``git blame'' will send
angry mail my way instead of Eric's.
v2: - Don't break dmesg reporting
- Use str.format consistently
- populate profile after check for xtest symlink
v3: - rebase against master
- fix spelling errors
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/test_result.mako | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/templates/test_result.mako b/templates/test_result.mako index 70b9f914f..42f336b0f 100644 --- a/templates/test_result.mako +++ b/templates/test_result.mako @@ -28,12 +28,24 @@ <td>Time</td> <td>${value.get('time', 'None')}</b> </tr> - ## Info is deprecated and may disapear someday - % if value.get('info') is not None: + % if value.get('images', None): <tr> - <td>Info</td> + <td>Images</td> <td> - <pre>${value.get('info') | h}</pre> + <table> + <tr> + <td/> + <td>reference</td> + <td>rendered</td> + </tr> + % for image in images: + <tr> + <td>${image['image_desc']}</td> + <td><img src="file://${image['image_ref']}" /></td> + <td><img src="file://${image['image_render']}" /></td> + </tr> + % endfor + </table> </td> </tr> % endif |