diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-30 06:51:15 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-30 06:51:15 (GMT) |
commit | 8a34d416ba9e107e07fca7d4a1692b4b6a54a3ef (patch) | |
tree | b3e414ec3fdee4888492302c0477bf501f85bbfa /Lib | |
parent | 732599f793281d15a1d28df0ebe63fe1fba52780 (diff) | |
download | cpython-8a34d416ba9e107e07fca7d4a1692b4b6a54a3ef.zip cpython-8a34d416ba9e107e07fca7d4a1692b4b6a54a3ef.tar.gz cpython-8a34d416ba9e107e07fca7d4a1692b4b6a54a3ef.tar.bz2 |
Issue #26295: Enhanc test_regrtest.test_tools_script_run_tests()
Pass all regrtest options, not only --testdir.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_regrtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py index b4083b8..213853f 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): |