-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathsummary.html
More file actions
96 lines (85 loc) · 2.77 KB
/
Copy pathsummary.html
File metadata and controls
96 lines (85 loc) · 2.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<html>
<head>
<style>
th {
text-transform: uppercase;
}
th,
td {
padding: 5px;
}
table {
border-collapse: collapse;
}
span.test_status {
font-weight: bold;
}
span.test_fail {
color: red;
}
span.test_pass {
color: green;
}
span.test_mute {
color: blue;
}
table>tbody>tr>td:nth-child(2),
table>tbody>tr>td:nth-child(3),
table>tbody>tr>td:nth-child(4) {
text-align: center;
}
</style>
</head>
<body>
<p>
<a href="{{ summary_url }}index.html">Summary dir file listing</a>
{% if trace_report_url %}
| <a href="{{ trace_report_url }}"
title="The trace report is generated on a best-effort basis and may be missing">Ya make trace</a>
{% endif %}
</p>
{% for status in status_order %}
<h1 id="{{ status.name }}">{{ status.name }} ({{ tests[status] | length }})</h1>
{% if status.name == "FAIL_BUILD" and build_error_log_url %}
<p><a href="{{ build_error_log_url }}">Build errors</a></p>
{% endif %}
<table style="width:100%;" border="1">
<thead>
<tr>
<th>test name</th>
<th>elapsed</th>
<th>status</th>
{% if status in has_any_log or (status.name == "FAIL_BUILD" and build_error_log_url) %}
<th>LOG</th>
{% endif %}
</tr>
</thead>
<tbody>
{% for t in tests[status] %}
<tr>
<td>{{ t.full_name }}</td>
<td><span title="{{ t.elapsed }}s">{{ t.elapsed_display }}</span></td>
<td>
<span class="test_status test_{{ t.status_display }}">{{ t.status_display }}{% if t.is_timed_out
%}(TIMEOUT){% endif %}</span>
</td>
{% if status in has_any_log or (status.name == "FAIL_BUILD" and build_error_log_url) %}
<td>
{% if t.log_urls %}
{% for log_name, log_url in t.log_urls.items() %}
<a href="{{ log_url }}">{{ log_name.upper() }}</a>{% if not loop.last %} | {% endif %}
{% endfor %}
{% elif status.name == "FAIL_BUILD" and build_error_log_url %}
<a href="{{ build_error_target_url(build_error_log_url, t) }}">BUILD ERRORS</a>
{% else %}
LOGS ARE EMPTY
{% endif %}
</td>
{% endif %}
</tr>
{% endfor %}
</tbody>
</table>
{% endfor %}
</body>
</html>