Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
a1acf253
Commit
a1acf253
authored
Aug 17, 2017
by
cclauss
Committed by
GitHub
Aug 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print() function and lose the semicolons (;)
parent
067543cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
make_test_output.py
jenkins/make_test_output.py
+7
-4
No files found.
jenkins/make_test_output.py
View file @
a1acf253
...
...
@@ -17,11 +17,12 @@ detailed test results. It runs as the last step before the Jenkins build
finishes.
"""
import
os
;
import
sys
;
import
os
import
sys
from
yattag
import
Doc
from
collections
import
defaultdict
def
readtests
(
basedir
):
tests
=
defaultdict
(
dict
)
...
...
@@ -68,6 +69,7 @@ def readtests(basedir):
return
ret
def
genxml
(
tests
):
doc
,
tag
,
text
=
Doc
()
.
tagtext
()
...
...
@@ -86,6 +88,7 @@ def genxml(tests):
return
doc
.
getvalue
()
sys
.
stderr
.
write
(
"make_test_output.py: writing XML from directory: "
+
sys
.
argv
[
1
]
+
"
\n
"
)
;
print
genxml
(
readtests
(
sys
.
argv
[
1
]
))
sys
.
argv
[
1
]
+
"
\n
"
)
print
(
genxml
(
readtests
(
sys
.
argv
[
1
])
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment