Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 069747b

Browse filesBrowse files
Yu GuRafaelGSS
authored andcommitted
test: fix timeout of test-heap-prof.js in riscv devices
In riscv hardware test-heap-prof.js caused timeout in test. Because of weak performance. So there is a need to set TIMEOUT_SCALEFACTOR for riscv too. Fixes: #40152 PR-URL: #42674 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 786f086 commit 069747b
Copy full SHA for 069747b

File tree

Expand file treeCollapse file tree

2 files changed

+7
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+7
-4
lines changed
Open diff view settings
Collapse file

‎tools/test.py‎

Copy file name to clipboardExpand all lines: tools/test.py
+5-4Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -909,10 +909,11 @@ def GetTestStatus(self, context, sections, defs):
909909

910910

911911
TIMEOUT_SCALEFACTOR = {
912-
'arm' : { 'debug' : 8, 'release' : 3 }, # The ARM buildbots are slow.
913-
'ia32' : { 'debug' : 4, 'release' : 1 },
914-
'ppc' : { 'debug' : 4, 'release' : 1 },
915-
's390' : { 'debug' : 4, 'release' : 1 } }
912+
'arm' : { 'debug' : 8, 'release' : 3 }, # The ARM buildbots are slow.
913+
'riscv64' : { 'debug' : 8, 'release' : 3 }, # The riscv devices are slow.
914+
'ia32' : { 'debug' : 4, 'release' : 1 },
915+
'ppc' : { 'debug' : 4, 'release' : 1 },
916+
's390' : { 'debug' : 4, 'release' : 1 } }
916917

917918

918919
class Context(object):
Collapse file

‎tools/utils.py‎

Copy file name to clipboardExpand all lines: tools/utils.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ def GuessArchitecture():
9797
return 'ppc'
9898
elif id == 's390x':
9999
return 's390'
100+
elif id == 'riscv64':
101+
return 'riscv64'
100102
else:
101103
id = platform.processor()
102104
if id == 'powerpc':

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.