Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
071408de
Commit
071408de
authored
Sep 25, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f1840722
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
go/neo/t/nxd/nxdtest
go/neo/t/nxd/nxdtest
+3
-3
No files found.
go/neo/t/nxd/nxdtest
View file @
071408de
...
@@ -183,7 +183,7 @@ class LocalTestResult:
...
@@ -183,7 +183,7 @@ class LocalTestResult:
self
.
next
=
0
# testv[next] is next test to execute
self
.
next
=
0
# testv[next] is next test to execute
def
start
(
self
):
# -> test_result_line
def
start
(
self
):
# -> test_result_line
if
self
.
next
>
len
(
self
.
testv
):
if
self
.
next
>
=
len
(
self
.
testv
):
return
None
# all tests are done
return
None
# all tests are done
test_result_line
=
LocalTestResultLine
()
test_result_line
=
LocalTestResultLine
()
...
@@ -194,7 +194,7 @@ class LocalTestResult:
...
@@ -194,7 +194,7 @@ class LocalTestResult:
class
LocalTestResultLine
:
class
LocalTestResultLine
:
def
stop
(
self
,
**
kw
):
def
stop
(
self
,
**
kw
):
def
v
(
name
):
def
v
(
name
):
kw
.
get
(
'name'
,
'?'
)
return
kw
.
get
(
'name'
,
'?'
)
_
=
v
(
'error_count'
)
_
=
v
(
'error_count'
)
if
_
==
'?'
:
if
_
==
'?'
:
...
@@ -204,7 +204,7 @@ class LocalTestResultLine:
...
@@ -204,7 +204,7 @@ class LocalTestResultLine:
else
:
else
:
st
=
'fail'
st
=
'fail'
print
(
'%s
\
t
%s
\
t
i%.3fs
\
t
# %sT %sE %sF %sS'
%
(
st
,
self
.
name
,
v
(
'test_count'
),
v
(
'error_count'
),
v
(
'failure_count'
),
v
(
'skip_count'
)))
print
(
'%s
\
t
%s
\
t
%.3fs
\
t
# %sT %sE %sF %sS'
%
(
st
,
self
.
name
,
kw
[
'duration'
]
,
v
(
'test_count'
),
v
(
'error_count'
),
v
(
'failure_count'
),
v
(
'skip_count'
)))
...
...
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