Skip to content

Commit 600d126

Browse files
Shi PujinUlisesGascon
Shi Pujin
authored andcommitted
test: fix timeout of test-cpu-prof-dir-worker.js in LoongArch devices
PR-URL: #50363 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent 6c41b50 commit 600d126

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tools/test.py

+1
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,7 @@ def GetTestStatus(self, context, sections, defs):
915915
TIMEOUT_SCALEFACTOR = {
916916
'arm' : { 'debug' : 8, 'release' : 3 }, # The ARM buildbots are slow.
917917
'riscv64' : { 'debug' : 8, 'release' : 3 }, # The riscv devices are slow.
918+
'loong64' : { 'debug' : 4, 'release' : 1 },
918919
'ia32' : { 'debug' : 4, 'release' : 1 },
919920
'ppc' : { 'debug' : 4, 'release' : 1 },
920921
's390' : { 'debug' : 4, 'release' : 1 } }

tools/utils.py

+2
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ def GuessArchitecture():
9999
return 's390'
100100
elif id == 'riscv64':
101101
return 'riscv64'
102+
elif id == 'loong64':
103+
return 'loong64'
102104
else:
103105
id = platform.processor()
104106
if id == 'powerpc':

0 commit comments

Comments
 (0)