Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
302fdfb2
Commit
302fdfb2
authored
Feb 04, 2020
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Additional debug logging for coverage.
parent
9a35f81e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
src/gevent/testing/testrunner.py
src/gevent/testing/testrunner.py
+8
-3
No files found.
src/gevent/testing/testrunner.py
View file @
302fdfb2
...
...
@@ -561,9 +561,10 @@ def main():
print
(
"Ignoring coverage option on PyPy on CI; slow"
)
else
:
coverage
=
True
os
.
environ
[
'COVERAGE_PROCESS_START'
]
=
os
.
path
.
abspath
(
".coveragerc"
)
cov_config
=
os
.
environ
[
'COVERAGE_PROCESS_START'
]
=
os
.
path
.
abspath
(
".coveragerc"
)
if
PYPY
:
os
.
environ
[
'COVERAGE_PROCESS_START'
]
=
os
.
path
.
abspath
(
".coveragerc-pypy"
)
cov_config
=
os
.
environ
[
'COVERAGE_PROCESS_START'
]
=
os
.
path
.
abspath
(
".coveragerc-pypy"
)
this_dir
=
os
.
path
.
dirname
(
__file__
)
site_dir
=
os
.
path
.
join
(
this_dir
,
'coveragesite'
)
site_dir
=
os
.
path
.
abspath
(
site_dir
)
...
...
@@ -572,7 +573,11 @@ def main():
# coverage files (which will have distinct suffixes because of parallel=true in .coveragerc
# in this directory; makes them easier to combine and use with coverage report)
os
.
environ
[
'COVERAGE_FILE'
]
=
os
.
path
.
abspath
(
"."
)
+
os
.
sep
+
".coverage"
print
(
"Enabling coverage to"
,
os
.
environ
[
'COVERAGE_FILE'
],
"with site"
,
site_dir
)
print
(
"Enabling coverage to"
,
os
.
environ
[
'COVERAGE_FILE'
],
"with site"
,
site_dir
,
"and configuration file"
,
cov_config
)
assert
os
.
path
.
exists
(
cov_config
)
assert
os
.
path
.
exists
(
os
.
path
.
join
(
site_dir
,
'sitecustomize.py'
))
_setup_environ
(
debug
=
options
.
debug
)
...
...
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