Commit 5e7d4f75 authored by Stefan Behnel's avatar Stefan Behnel

print sys pyregr directory in test runner

parent 6745661b
...@@ -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:
filetests = TestBuilder(ROOTDIR, WORKDIR, selectors, exclude_selectors, sys_pyregr_dir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3], 'test')
options.annotate_source, options.cleanup_workdir, if os.path.isdir(sys_pyregr_dir):
options.cleanup_sharedlibs, True, filetests = TestBuilder(ROOTDIR, WORKDIR, selectors, exclude_selectors,
options.cython_only, languages, test_bugs, options.annotate_source, options.cleanup_workdir,
options.fork, options.language_level) options.cleanup_sharedlibs, True,
test_suite.addTest( options.cython_only, languages, test_bugs,
filetests.handle_directory( options.fork, options.language_level)
os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3], 'test'), sys.stderr.write("Including CPython regression tests in %s\n" % sys_pyregr_dir)
'pyregr')) test_suite.addTest(filetests.handle_directory(sys_pyregr_dir, 'pyregr'))
if options.xml_output_dir: if options.xml_output_dir:
from Cython.Tests.xmlrunner import XMLTestRunner from Cython.Tests.xmlrunner import XMLTestRunner
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment