Skip to content

Commit

Permalink
test: fix timeout of test-cpu-prof-dir-worker.js in LoongArch devices
Browse files Browse the repository at this point in the history
PR-URL: #50363
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
  • Loading branch information
shipujin authored and targos committed Nov 11, 2023
1 parent f1ea19c commit 3ef4c91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,7 @@ def GetTestStatus(self, context, sections, defs):
TIMEOUT_SCALEFACTOR = {
'arm' : { 'debug' : 8, 'release' : 3 }, # The ARM buildbots are slow.
'riscv64' : { 'debug' : 8, 'release' : 3 }, # The riscv devices are slow.
'loong64' : { 'debug' : 4, 'release' : 1 },
'ia32' : { 'debug' : 4, 'release' : 1 },
'ppc' : { 'debug' : 4, 'release' : 1 },
's390' : { 'debug' : 4, 'release' : 1 } }
Expand Down
2 changes: 2 additions & 0 deletions tools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ def GuessArchitecture():
return 's390'
elif id == 'riscv64':
return 'riscv64'
elif id == 'loong64':
return 'loong64'
else:
id = platform.processor()
if id == 'powerpc':
Expand Down

0 comments on commit 3ef4c91

Please sign in to comment.