summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-30 08:51:15 +0200
committerVictor Stinner <victor.stinner@gmail.com>2016-03-30 08:51:15 +0200
commit8a34d416ba9e107e07fca7d4a1692b4b6a54a3ef (patch)
treeb3e414ec3fdee4888492302c0477bf501f85bbfa
parent732599f793281d15a1d28df0ebe63fe1fba52780 (diff)
downloadcpython-git-8a34d416ba9e107e07fca7d4a1692b4b6a54a3ef.tar.gz
Issue #26295: Enhanc test_regrtest.test_tools_script_run_tests()
Pass all regrtest options, not only --testdir.
-rw-r--r--Lib/test/test_regrtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py
index b4083b8f2c..213853f5b1 100644
--- a/Lib/test/test_regrtest.py
+++ b/Lib/test/test_regrtest.py
@@ -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):