test_result.mako 1.44 KB
Newer Older
1 2 3 4 5 6 7
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//END"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>${testname} - Details</title>
8
    <link rel="stylesheet" href="${css}" type="text/css" />
9 10 11 12 13 14 15
  </head>
  <body>
    <h1>Results for ${testname}</h1>
    <h2>Overview</h2>
    <div>
      <p><b>Result:</b> ${status}</p>
    </div>
16
    <p><a href="${index}">Back to summary</a></p>
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
    <h2>Details</h2>
    <table>
      <tr>
        <th>Detail</th>
        <th>Value</th>
      </tr>
      <tr>
        <td>Returncode</td>
        <td>${returncode}</td>
      </tr>
      <tr>
        <td>Time</td>
        <td>${time}</b>
      </tr>
      <tr>
        <td>Info</td>
        <td>
34
          <pre>${info | h}</pre>
35 36
        </td>
      </tr>
37 38 39 40 41 42 43 44
      % if env:
      <tr>
        <td>Environment</td>
        <td>
          <pre>${env | h}</pre>
        </td>
      </tr>
      % endif
45 46 47 48 49 50
      <tr>
        <td>Command</td>
        <td>
          </pre>${command}</pre>
        </td>
      </tr>
51 52 53
      <tr>
        <td>Traceback</td>
        <td>
54
          <pre>${traceback | h}</pre>
55 56
        </td>
      </tr>
57 58 59
      <tr>
        <td>dmesg</td>
        <td>
60
          <pre>${dmesg | h}</pre>
61 62
        </td>
      </tr>
63
    </table>
64
    <p><a href="${index}">Back to summary</a></p>
65 66
  </body>
</html>