Skip to content

test: export isRiscv64 from common module#62609

Open
JamieMagee wants to merge 1 commit intonodejs:mainfrom
JamieMagee:test-export-isriscv64
Open

test: export isRiscv64 from common module#62609
JamieMagee wants to merge 1 commit intonodejs:mainfrom
JamieMagee:test-export-isriscv64

Conversation

@JamieMagee
Copy link
Copy Markdown

isRiscv64 was defined and used internally for the timeout multiplier, but wasn't exported. Tests that needed to check for riscv64 had to inline process.arch === 'riscv64' instead.

Add it to the exports alongside the other platform booleans.

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Apr 5, 2026
isRiscv64 is defined and used internally for the timeout multiplier
but was not exported. Export it alongside the other platform booleans
(isLinux, isFreeBSD, isPi, etc.) so tests can use common.isRiscv64
instead of inlining process.arch checks.

Refs: nodejs/build#4099
Signed-off-by: Jamie Magee <jamie.magee@gmail.com>
@JamieMagee JamieMagee force-pushed the test-export-isriscv64 branch from 772a762 to a87ddf7 Compare April 5, 2026 23:58
@JamieMagee JamieMagee requested a review from cjihrig April 6, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants