Issue #26295: Enhanc test_regrtest.test_tools_script_run_tests()

Pass all regrtest options, not only --testdir.
This commit is contained in:
Victor Stinner 2016-03-30 08:51:15 +02:00
parent 732599f793
commit 8a34d416ba
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ class ProgramsTestCase(BaseTestCase):
def test_tools_script_run_tests(self):
# Tools/scripts/run_tests.py
script = os.path.join(ROOT_DIR, 'Tools', 'scripts', 'run_tests.py')
args = [script, '--testdir=%s' % self.tmptestdir, *self.tests]
args = [script, *self.regrtest_args, *self.tests]
self.run_tests(args)
def run_batch(self, *args):