]> granicus.if.org Git - python/commitdiff
Issue #26295: Fix test_regrtest.test_tools_buildbot_test()
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 30 Mar 2016 06:38:05 +0000 (08:38 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 30 Mar 2016 06:38:05 +0000 (08:38 +0200)
Pass also --testdir option.

Lib/test/test_regrtest.py

index 013a1b44f39d932375f4981bff58a4e767d6533c..b4083b8f2c8e0ebed69a1f1bad29d3868052e909 100644 (file)
@@ -527,7 +527,7 @@ class ProgramsTestCase(BaseTestCase):
     def test_tools_buildbot_test(self):
         # Tools\buildbot\test.bat
         script = os.path.join(ROOT_DIR, 'Tools', 'buildbot', 'test.bat')
-        test_args = []
+        test_args = ['--testdir=%s' % self.tmptestdir]
         if platform.architecture()[0] == '64bit':
             test_args.append('-x64')   # 64-bit build
         if not Py_DEBUG: