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
a30f829e
Commit
a30f829e
authored
9 years ago
by
Adele Zhou
Browse files
Options
Downloads
Patches
Plain Diff
Renamed report_utils.py.
parent
2271ab5a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tools/run_tests/report_utils.py
+0
-0
0 additions, 0 deletions
tools/run_tests/report_utils.py
tools/run_tests/run_interop_tests.py
+3
-5
3 additions, 5 deletions
tools/run_tests/run_interop_tests.py
tools/run_tests/run_tests.py
+2
-2
2 additions, 2 deletions
tools/run_tests/run_tests.py
with
5 additions
and
7 deletions
tools/run_tests/
generate_
reports.py
→
tools/run_tests/report
_util
s.py
+
0
−
0
View file @
a30f829e
File moved
This diff is collapsed.
Click to expand it.
tools/run_tests/run_interop_tests.py
+
3
−
5
View file @
a30f829e
...
@@ -33,10 +33,10 @@
...
@@ -33,10 +33,10 @@
import
argparse
import
argparse
import
dockerjob
import
dockerjob
import
itertools
import
itertools
import
generate_reports
import
jobset
import
jobset
import
multiprocessing
import
multiprocessing
import
os
import
os
import
report_utils
import
subprocess
import
subprocess
import
sys
import
sys
import
tempfile
import
tempfile
...
@@ -627,11 +627,9 @@ try:
...
@@ -627,11 +627,9 @@ try:
else
:
else
:
jobset
.
message
(
'
SUCCESS
'
,
'
All tests passed
'
,
do_newline
=
True
)
jobset
.
message
(
'
SUCCESS
'
,
'
All tests passed
'
,
do_newline
=
True
)
# Generate XML report.
report_utils
.
render_xml_report
(
resultset
,
'
report.xml
'
)
generate_reports
.
render_xml_report
(
resultset
,
'
report.xml
'
)
# Generate HTML report.
report_utils
.
render_html_report
(
generate_reports
.
render_html_report
(
set
([
str
(
l
)
for
l
in
languages
]),
servers
,
_TEST_CASES
,
_AUTH_TEST_CASES
,
set
([
str
(
l
)
for
l
in
languages
]),
servers
,
_TEST_CASES
,
_AUTH_TEST_CASES
,
resultset
,
num_failures
,
args
.
cloud_to_prod_auth
or
args
.
cloud_to_prod
)
resultset
,
num_failures
,
args
.
cloud_to_prod_auth
or
args
.
cloud_to_prod
)
...
...
This diff is collapsed.
Click to expand it.
tools/run_tests/run_tests.py
+
2
−
2
View file @
a30f829e
...
@@ -48,8 +48,8 @@ import traceback
...
@@ -48,8 +48,8 @@ import traceback
import
time
import
time
import
urllib2
import
urllib2
import
generate_reports
import
jobset
import
jobset
import
report_utils
import
watch_dirs
import
watch_dirs
ROOT
=
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
sys
.
argv
[
0
]),
'
../..
'
))
ROOT
=
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
sys
.
argv
[
0
]),
'
../..
'
))
...
@@ -890,7 +890,7 @@ def _build_and_run(
...
@@ -890,7 +890,7 @@ def _build_and_run(
for
antagonist
in
antagonists
:
for
antagonist
in
antagonists
:
antagonist
.
kill
()
antagonist
.
kill
()
if
xml_report
:
if
xml_report
:
generate_
reports
.
render_xml_report
(
resultset
,
xml_report
)
report
_util
s
.
render_xml_report
(
resultset
,
xml_report
)
number_failures
,
_
=
jobset
.
run
(
number_failures
,
_
=
jobset
.
run
(
post_tests_steps
,
maxjobs
=
1
,
stop_on_failure
=
True
,
post_tests_steps
,
maxjobs
=
1
,
stop_on_failure
=
True
,
...
...
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