From: Victor Stinner Date: Wed, 30 Mar 2016 06:51:15 +0000 (+0200) Subject: Issue #26295: Enhanc test_regrtest.test_tools_script_run_tests() X-Git-Tag: v3.6.0a1~296 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8a34d416ba9e107e07fca7d4a1692b4b6a54a3ef;p=thirdparty%2FPython%2Fcpython.git Issue #26295: Enhanc test_regrtest.test_tools_script_run_tests() Pass all regrtest options, not only --testdir. --- diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py index b4083b8f2c8e..213853f5b188 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):