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
5e7d4f75
Commit
5e7d4f75
authored
Apr 21, 2011
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print sys pyregr directory in test runner
parent
6745661b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
runtests.py
runtests.py
+9
-9
No files found.
runtests.py
View file @
5e7d4f75
...
@@ -1339,15 +1339,15 @@ def main():
...
@@ -1339,15 +1339,15 @@ def main():
test_suite
.
addTest
(
filetests
.
build_suite
())
test_suite
.
addTest
(
filetests
.
build_suite
())
if
options
.
system_pyregr
and
languages
:
if
options
.
system_pyregr
and
languages
:
sys_pyregr_dir
=
os
.
path
.
join
(
sys
.
prefix
,
'lib'
,
'python'
+
sys
.
version
[:
3
],
'test'
)
if
os
.
path
.
isdir
(
sys_pyregr_dir
):
filetests
=
TestBuilder
(
ROOTDIR
,
WORKDIR
,
selectors
,
exclude_selectors
,
filetests
=
TestBuilder
(
ROOTDIR
,
WORKDIR
,
selectors
,
exclude_selectors
,
options
.
annotate_source
,
options
.
cleanup_workdir
,
options
.
annotate_source
,
options
.
cleanup_workdir
,
options
.
cleanup_sharedlibs
,
True
,
options
.
cleanup_sharedlibs
,
True
,
options
.
cython_only
,
languages
,
test_bugs
,
options
.
cython_only
,
languages
,
test_bugs
,
options
.
fork
,
options
.
language_level
)
options
.
fork
,
options
.
language_level
)
test_suite
.
addTest
(
sys
.
stderr
.
write
(
"Including CPython regression tests in %s
\
n
"
%
sys_pyregr_dir
)
filetests
.
handle_directory
(
test_suite
.
addTest
(
filetests
.
handle_directory
(
sys_pyregr_dir
,
'pyregr'
))
os
.
path
.
join
(
sys
.
prefix
,
'lib'
,
'python'
+
sys
.
version
[:
3
],
'test'
),
'pyregr'
))
if
options
.
xml_output_dir
:
if
options
.
xml_output_dir
:
from
Cython.Tests.xmlrunner
import
XMLTestRunner
from
Cython.Tests.xmlrunner
import
XMLTestRunner
...
...
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