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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
993afd3d
Commit
993afd3d
authored
Aug 17, 2011
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new meta-option '--debug' in test runner to configure for easier debugging
parent
b3fe8311
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
runtests.py
runtests.py
+7
-0
No files found.
runtests.py
View file @
993afd3d
...
...
@@ -1338,6 +1338,8 @@ def main():
help="working directory")
parser.add_option("--work-dir", dest="work_dir", default=os.path.join(os.getcwd(), '
BUILD
'),
help="working directory")
parser.add_option("--debug", dest="for_debugging", default=False, action="store_true",
help="configure for easier use with a debugger (e.g. gdb)")
options, cmd_args = parser.parse_args()
...
...
@@ -1409,6 +1411,11 @@ def main():
else
:
sys
.
stderr
.
write
(
"Running tests without Cython.
\
n
"
)
if
options
.
for_debugging
:
options
.
cleanup_workdir
=
False
options
.
cleanup_sharedlibs
=
False
options
.
fork
=
False
if
options
.
with_refnanny
:
from
pyximport.pyxbuild
import
pyx_to_dll
libpath
=
pyx_to_dll
(
os
.
path
.
join
(
"Cython"
,
"Runtime"
,
"refnanny.pyx"
),
...
...
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