Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
c8bd16b7
Commit
c8bd16b7
authored
9 years ago
by
Carl Mastrangelo
Browse files
Options
Downloads
Patches
Plain Diff
Move Http2 interop test reports up
parent
de449107
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/run_tests/report_utils.py
+21
-21
21 additions, 21 deletions
tools/run_tests/report_utils.py
with
21 additions
and
21 deletions
tools/run_tests/report_utils.py
+
21
−
21
View file @
c8bd16b7
...
@@ -151,27 +151,6 @@ def render_html_report(client_langs, server_langs, test_cases, auth_test_cases,
...
@@ -151,27 +151,6 @@ def render_html_report(client_langs, server_langs, test_cases, auth_test_cases,
html_str
=
fill_one_test_result
(
shortname
,
resultset
,
html_str
)
html_str
=
fill_one_test_result
(
shortname
,
resultset
,
html_str
)
html_str
=
'
%s</tr>
\n
'
%
html_str
html_str
=
'
%s</tr>
\n
'
%
html_str
html_str
=
'
%s</table>
\n
'
%
html_str
html_str
=
'
%s</table>
\n
'
%
html_str
if
server_langs
:
for
test_case
in
sorted_test_cases
:
# Each column header is the client language.
html_str
=
(
'
%s<h2>%s</h2>
\n
'
'
<table style=
\"
width:100%%
\"
border=
\"
1
\"
>
\n
'
'
<tr bgcolor=
\"
#00BFFF
\"
>
\n
'
'
<th>Client languages ►<br/>
'
'
Server languages ▼</th>
\n
'
)
%
(
html_str
,
test_case
)
for
client_lang
in
sorted_client_langs
:
html_str
=
'
%s<th>%s
\n
'
%
(
html_str
,
client_lang
)
html_str
=
'
%s</tr>
\n
'
%
html_str
# Each row head is the server language.
for
server_lang
in
sorted_server_langs
:
html_str
=
'
%s<tr><td><b>%s</b></td>
\n
'
%
(
html_str
,
server_lang
)
# Fill up the cells with test result.
for
client_lang
in
sorted_client_langs
:
shortname
=
'
cloud_to_cloud:%s:%s_server:%s
'
%
(
client_lang
,
server_lang
,
test_case
)
html_str
=
fill_one_test_result
(
shortname
,
resultset
,
html_str
)
html_str
=
'
%s</tr>
\n
'
%
html_str
html_str
=
'
%s</table>
\n
'
%
html_str
if
http2_interop
:
if
http2_interop
:
# Each column header is the server language.
# Each column header is the server language.
html_str
=
(
'
%s<h2>HTTP/2 Interop</h2>
\n
'
html_str
=
(
'
%s<h2>HTTP/2 Interop</h2>
\n
'
...
@@ -196,6 +175,27 @@ def render_html_report(client_langs, server_langs, test_cases, auth_test_cases,
...
@@ -196,6 +175,27 @@ def render_html_report(client_langs, server_langs, test_cases, auth_test_cases,
html_str
=
fill_one_test_result
(
shortname
,
resultset
,
html_str
)
html_str
=
fill_one_test_result
(
shortname
,
resultset
,
html_str
)
html_str
=
'
%s</tr>
\n
'
%
html_str
html_str
=
'
%s</tr>
\n
'
%
html_str
html_str
=
'
%s</table>
\n
'
%
html_str
html_str
=
'
%s</table>
\n
'
%
html_str
if
server_langs
:
for
test_case
in
sorted_test_cases
:
# Each column header is the client language.
html_str
=
(
'
%s<h2>%s</h2>
\n
'
'
<table style=
\"
width:100%%
\"
border=
\"
1
\"
>
\n
'
'
<tr bgcolor=
\"
#00BFFF
\"
>
\n
'
'
<th>Client languages ►<br/>
'
'
Server languages ▼</th>
\n
'
)
%
(
html_str
,
test_case
)
for
client_lang
in
sorted_client_langs
:
html_str
=
'
%s<th>%s
\n
'
%
(
html_str
,
client_lang
)
html_str
=
'
%s</tr>
\n
'
%
html_str
# Each row head is the server language.
for
server_lang
in
sorted_server_langs
:
html_str
=
'
%s<tr><td><b>%s</b></td>
\n
'
%
(
html_str
,
server_lang
)
# Fill up the cells with test result.
for
client_lang
in
sorted_client_langs
:
shortname
=
'
cloud_to_cloud:%s:%s_server:%s
'
%
(
client_lang
,
server_lang
,
test_case
)
html_str
=
fill_one_test_result
(
shortname
,
resultset
,
html_str
)
html_str
=
'
%s</tr>
\n
'
%
html_str
html_str
=
'
%s</table>
\n
'
%
html_str
html_str
=
(
'
%s
\n
'
html_str
=
(
'
%s
\n
'
'
<script>
\n
'
'
<script>
\n
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment