Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
0831ee2b
Commit
0831ee2b
authored
4 years ago
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
071408de
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
go/neo/t/nxd/nxdtest
go/neo/t/nxd/nxdtest
+4
-3
No files found.
go/neo/t/nxd/nxdtest
View file @
0831ee2b
...
...
@@ -107,7 +107,8 @@ def main():
# bufsize=1 means 'line buffered'
p
=
Popen
(
argv
,
stdin
=
devnull
,
stdout
=
PIPE
,
stderr
=
PIPE
,
bufsize
=
1
)
except
:
stdout
,
stderr
=
''
,
traceback
.
format_exc
()
stdout
=
''
stderr
=
'run %r
\
n
%s'
%
(
argv
,
traceback
.
format_exc
())
sys
.
stderr
.
write
(
stderr
)
status
[
'error_count'
]
+=
1
else
:
...
...
@@ -194,7 +195,7 @@ class LocalTestResult:
class
LocalTestResultLine
:
def
stop
(
self
,
**
kw
):
def
v
(
name
):
return
kw
.
get
(
'name'
,
'?'
)
return
kw
.
get
(
name
,
'?'
)
_
=
v
(
'error_count'
)
if
_
==
'?'
:
...
...
@@ -204,7 +205,7 @@ class LocalTestResultLine:
else
:
st
=
'fail'
print
(
'%s
\
t
%s
\
t
%.3fs
\
t
# %s
T %sE %sF %sS
'
%
(
st
,
self
.
name
,
kw
[
'duration'
],
v
(
'test_count'
),
v
(
'error_count'
),
v
(
'failure_count'
),
v
(
'skip_count'
)))
print
(
'%s
\
t
%s
\
t
%.3fs
\
t
# %s
t %se %sf %ss
'
%
(
st
,
self
.
name
,
kw
[
'duration'
],
v
(
'test_count'
),
v
(
'error_count'
),
v
(
'failure_count'
),
v
(
'skip_count'
)))
...
...
This diff is collapsed.
Click to expand it.
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