Skip to content
Merged
Changes from all commits
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
9 changes: 7 additions & 2 deletions test/common.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -245,10 +245,15 @@ exports.platformTimeout = function(ms) {
if (process.arch !== 'arm')
return ms;

if (process.config.variables.arm_version === '6')
const armv = process.config.variables.arm_version;

if (armv === '6')
return 7 * ms; // ARMv6

return 2 * ms; // ARMv7 and up.
if (armv === '7')
return 2 * ms; // ARMv7

return ms; // ARMv8+
};

var knownGlobals = [setTimeout,
Expand Down