mirror of
https://github.com/nodejs/node.git
synced 2024-11-24 12:10:08 +01:00
test: fix timeout of test-cpu-prof-dir-worker.js in LoongArch devices
PR-URL: https://github.com/nodejs/node/pull/50363 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
This commit is contained in:
parent
9e30518107
commit
1b74aa3cb2
@ -915,6 +915,7 @@ class LiteralTestSuite(TestSuite):
|
||||
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 } }
|
||||
|
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user