summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-30 08:38:05 +0200
committerVictor Stinner <victor.stinner@gmail.com>2016-03-30 08:38:05 +0200
commit732599f793281d15a1d28df0ebe63fe1fba52780 (patch)
tree718c7d16eac4e60b3333c1edb05941e4edc98b67
parentd6e2502624c3f19593657086e1d673d2dd699b21 (diff)
downloadcpython-git-732599f793281d15a1d28df0ebe63fe1fba52780.tar.gz
Issue #26295: Fix test_regrtest.test_tools_buildbot_test()
Pass also --testdir option.
-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 013a1b44f3..b4083b8f2c 100644
--- a/Lib/test/test_regrtest.py
+++ b/Lib/test/test_regrtest.py
@@ -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: