We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b875f2d commit b10e434Copy full SHA for b10e434
test/common/index.js
@@ -143,6 +143,7 @@ const isOpenBSD = process.platform === 'openbsd';
143
const isLinux = process.platform === 'linux';
144
const isMacOS = process.platform === 'darwin';
145
const isASan = process.config.variables.asan === 1;
146
+const isRiscv64 = process.arch === 'riscv64';
147
const isDebug = process.features.debug;
148
const isPi = (() => {
149
try {
@@ -290,6 +291,10 @@ function platformTimeout(ms) {
290
291
if (isPi)
292
return multipliers.two * ms; // Raspberry Pi devices
293
294
+ if (isRiscv64) {
295
+ return multipliers.four * ms;
296
+ }
297
+
298
return ms;
299
}
300
0 commit comments