Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a0f9000

Browse filesBrowse files
JamieMageeaduh95
authored andcommitted
test: export isRiscv64 from common module
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> PR-URL: #62609 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com>
1 parent b6219b6 commit a0f9000
Copy full SHA for a0f9000

2 files changed

+3Lines changed: 3 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/common/index.js‎

Copy file name to clipboardExpand all lines: test/common/index.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,7 @@ const common = {
951951
isOpenBSD,
952952
isMacOS,
953953
isPi,
954+
isRiscv64,
954955
isSunOS,
955956
isWindows,
956957
localIPv6Hosts,
Collapse file

‎test/common/index.mjs‎

Copy file name to clipboardExpand all lines: test/common/index.mjs
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const {
2828
isLinux,
2929
isOpenBSD,
3030
isMacOS,
31+
isRiscv64,
3132
isSunOS,
3233
isWindows,
3334
localIPv6Hosts,
@@ -80,6 +81,7 @@ export {
8081
isLinux,
8182
isOpenBSD,
8283
isMacOS,
84+
isRiscv64,
8385
isSunOS,
8486
isWindows,
8587
localIPv6Hosts,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.