Sitelet https://github.com/nodejs/node/pull/54591/commits/68fc01d1c35d138cb0967da6e10bb0d856fefad0
Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test: add support for riscv64
  • Loading branch information
jakecastelli committed Aug 28, 2024
commit 68fc01d1c35d138cb0967da6e10bb0d856fefad0
5 changes: 5 additions & 0 deletions test/common/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ const isOpenBSD = process.platform === 'openbsd';
const isLinux = process.platform === 'linux';
const isMacOS = process.platform === 'darwin';
const isASan = process.config.variables.asan === 1;
const isRiscv64 = process.arch === 'riscv64';
const isDebug = process.features.debug;
const isPi = (() => {
try {
Expand Down Expand Up @@ -290,6 +291,10 @@ function platformTimeout(ms) {
if (isPi)
return multipliers.two * ms; // Raspberry Pi devices

if (isRiscv64) {
return multipliers.four * ms;
}

return ms;
}

Expand Down