Skip to content

Commit 77f952c

Browse files
committed
Add a super-slow test mode for armv6
1 parent 30a1882 commit 77f952c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

tools/test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -729,8 +729,9 @@ def GetTestStatus(self, context, sections, defs):
729729
'debug' : ['--enable-slow-asserts', '--debug-code', '--verify-heap'],
730730
'release' : []}
731731
TIMEOUT_SCALEFACTOR = {
732-
'arm' : { 'debug' : 8, 'release' : 2 }, # The ARM buildbots are slow.
733-
'ia32' : { 'debug' : 4, 'release' : 1 } }
732+
'armv6' : { 'debug' : 12, 'release' : 3 }, # The ARM buildbots are slow.
733+
'arm' : { 'debug' : 8, 'release' : 2 },
734+
'ia32' : { 'debug' : 4, 'release' : 1 } }
734735

735736

736737
class Context(object):

tools/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ def GuessOS():
7373
def GuessArchitecture():
7474
id = platform.machine()
7575
id = id.lower() # Windows 7 capitalizes 'AMD64'.
76-
if id.startswith('arm') or id == 'aarch64':
76+
if id.startswith('armv6') # Can return 'armv6l'.
77+
return 'armv6'
78+
elif id.startswith('arm') or id == 'aarch64':
7779
return 'arm'
7880
elif (not id) or (not re.match('(x|i[3-6])86$', id) is None):
7981
return 'ia32'

0 commit comments

Comments
 (0)