]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #26295: Enhanc test_regrtest.test_tools_script_run_tests()
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 30 Mar 2016 06:51:15 +0000 (08:51 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 30 Mar 2016 06:51:15 +0000 (08:51 +0200)
Pass all regrtest options, not only --testdir.

Lib/test/test_regrtest.py

index b4083b8f2c8e0ebed69a1f1bad29d3868052e909..213853f5b1883cf965ffcc0c5b3d2aea3be90963 100644 (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):