[Python-checkins] cpython: Issue #26295: Fix test_regrtest.test_tools_buildbot_test()

victor.stinner python-checkins at python.org
Wed Mar 30 02:50:17 EDT 2016


https://hg.python.org/cpython/rev/e29f12ed4444
changeset:   100796:e29f12ed4444
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Mar 30 08:38:05 2016 +0200
summary:
  Issue #26295: Fix test_regrtest.test_tools_buildbot_test()

Pass also --testdir option.

files:
  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
--- a/Lib/test/test_regrtest.py
+++ b/Lib/test/test_regrtest.py
@@ -527,7 +527,7 @@
     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:

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list