xref: /freebsd/contrib/kyua/misc/test_result.html (revision e0c4386e)
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<!--
4  Copyright 2012 The Kyua Authors.
5  All rights reserved.
6
7  Redistribution and use in source and binary forms, with or without
8  modification, are permitted provided that the following conditions are
9  met:
10
11  * Redistributions of source code must retain the above copyright
12    notice, this list of conditions and the following disclaimer.
13  * Redistributions in binary form must reproduce the above copyright
14    notice, this list of conditions and the following disclaimer in the
15    documentation and/or other materials provided with the distribution.
16  * Neither the name of Google Inc. nor the names of its contributors
17    may be used to endorse or promote products derived from this software
18    without specific prior written permission.
19
20  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31-->
32<html>
33<head>
34  <title>Test case: %%test_case%%</title>
35  <link rel="stylesheet" type="text/css" href="%%css%%" />
36</head>
37
38<body>
39
40<h1>Test case: %%test_case%%</h1>
41
42<ul>
43  <li>Test program: %%test_program%%</li>
44  <li>Result: %%result%%</li>
45  <li>Start time: %%start_time%%</li>
46  <li>End time: %%end_time%%</li>
47  <li>Duration: %%duration%%</li>
48  <li><a href="context.html">Execution context</a></li>
49</ul>
50
51<h2>Metadata</h2>
52
53<ul>
54%loop metadata_var iter
55  <li><tt>%%metadata_var(iter)%% = %%metadata_value(iter)%%</tt></li>
56%endloop
57</ul>
58
59<h2>Standard output</h2>
60
61%if defined(stdout)
62<pre>%%stdout%%</pre>
63%else
64Test case did not write anything to stdout.
65%endif
66
67<h2>Standard error</h2>
68
69%if defined(stderr)
70<pre>%%stderr%%</pre>
71%else
72Test case did not write anything to stderr.
73%endif
74
75</body>
76</html>
77