Commit beea3d2f authored by Stefan Behnel's avatar Stefan Behnel

Do not add embed test twice in test runner.

parent 111468dc
...@@ -2152,8 +2152,7 @@ def runtests(options, cmd_args, coverage=None): ...@@ -2152,8 +2152,7 @@ def runtests(options, cmd_args, coverage=None):
if os.path.isdir(sys_pyregr_dir): if os.path.isdir(sys_pyregr_dir):
filetests = TestBuilder(ROOTDIR, WORKDIR, selectors, exclude_selectors, filetests = TestBuilder(ROOTDIR, WORKDIR, selectors, exclude_selectors,
options, True, languages, test_bugs, options, True, languages, test_bugs,
sys.version_info[0], common_utility_dir, sys.version_info[0], common_utility_dir)
add_embedded_test=True)
sys.stderr.write("Including CPython regression tests in %s\n" % sys_pyregr_dir) sys.stderr.write("Including CPython regression tests in %s\n" % sys_pyregr_dir)
test_suite.addTest(filetests.handle_directory(sys_pyregr_dir, 'pyregr')) test_suite.addTest(filetests.handle_directory(sys_pyregr_dir, 'pyregr'))
......
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