Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Boxiang Sun
cython
Commits
2657e9b3
Commit
2657e9b3
authored
Jun 27, 2014
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include more Cython modules in coverage analysis
parent
de5d9be9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
runtests.py
runtests.py
+8
-6
No files found.
runtests.py
View file @
2657e9b3
...
...
@@ -1927,12 +1927,14 @@ def runtests(options, cmd_args, coverage=None):
if
coverage
is
not
None
:
coverage
.
stop
()
ignored_modules
=
(
'Options'
,
'Version'
,
'DebugFlags'
,
'CmdLine'
)
modules
=
[
module
for
name
,
module
in
sys
.
modules
.
items
()
ignored_modules
=
set
(
'Cython.Compiler.'
+
name
for
name
in
(
'Options'
,
'Version'
,
'DebugFlags'
,
'CmdLine'
))
modules
=
[
module
for
name
,
module
in
sys
.
modules
.
items
()
if
module
is
not
None
and
name
.
startswith
(
'Cython.Compiler.'
)
and
'.Tests'
not
in
name
and
name
[
len
(
'Cython.Compiler.'
):]
not
in
ignored_modules
]
name
.
startswith
(
'Cython.'
)
and
name
not
in
ignored_modules
]
if
options
.
coverage
:
coverage
.
report
(
modules
,
show_missing
=
0
)
if
options
.
coverage_xml
:
...
...
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