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 9c94dce

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 8f55327 commit 9c94dce
Copy full SHA for 9c94dce

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
@@ -996,6 +996,7 @@ const common = {
996996
isOpenBSD,
997997
isMacOS,
998998
isPi,
999+
isRiscv64,
9991000
isSunOS,
10001001
isWindows,
10011002
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
@@ -31,6 +31,7 @@ const {
3131
isLinux,
3232
isOpenBSD,
3333
isMacOS,
34+
isRiscv64,
3435
isSunOS,
3536
isWindows,
3637
localIPv6Hosts,
@@ -86,6 +87,7 @@ export {
8687
isLinux,
8788
isOpenBSD,
8889
isMacOS,
90+
isRiscv64,
8991
isSunOS,
9092
isWindows,
9193
localIPv6Hosts,

0 commit comments

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