summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_regrtest.py
diff options
context:
space:
mode:
authorPaul Monson <paulmon@users.noreply.github.com>2019-06-19 20:09:54 (GMT)
committerSteve Dower <steve.dower@python.org>2019-06-19 20:09:54 (GMT)
commitf355069a3337711642c3403429afb9faef93f512 (patch)
treec2a749be8e1921205c676ecdb22fe8703d947c42 /Lib/test/test_regrtest.py
parent12f1c726d8328e5e096c35c36901f6d19bc942d3 (diff)
downloadcpython-f355069a3337711642c3403429afb9faef93f512.zip
cpython-f355069a3337711642c3403429afb9faef93f512.tar.gz
cpython-f355069a3337711642c3403429afb9faef93f512.tar.bz2
bpo-36511: Add buildbot scripts and fix tests for Windows ARM32 buildbot (GH-13454)
Diffstat (limited to 'Lib/test/test_regrtest.py')
-rw-r--r--Lib/test/test_regrtest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py
index 904b326..0a00925 100644
--- a/Lib/test/test_regrtest.py
+++ b/Lib/test/test_regrtest.py
@@ -618,6 +618,8 @@ class ProgramsTestCase(BaseTestCase):
test_args = ['--testdir=%s' % self.tmptestdir]
if platform.machine() == 'ARM64':
test_args.append('-arm64') # ARM 64-bit build
+ elif platform.machine() == 'ARM':
+ test_args.append('-arm32') # 32-bit ARM build
elif platform.architecture()[0] == '64bit':
test_args.append('-x64') # 64-bit build
if not Py_DEBUG:
@@ -633,6 +635,8 @@ class ProgramsTestCase(BaseTestCase):
rt_args = ["-q"] # Quick, don't run tests twice
if platform.machine() == 'ARM64':
rt_args.append('-arm64') # ARM 64-bit build
+ elif platform.machine() == 'ARM':
+ rt_args.append('-arm32') # 32-bit ARM build
elif platform.architecture()[0] == '64bit':
rt_args.append('-x64') # 64-bit build
if Py_DEBUG: