Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
update test-42-fetch-all to reflect base binaries we provide
Browse files Browse the repository at this point in the history
  • Loading branch information
igorklopov committed May 10, 2019
1 parent 215af15 commit 8616bb6
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions test/test-42-fetch-all/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@ function nodeRangeToNodeVersion (nodeRange) {
return 'v' + nodeRange.slice(4);
}

for (const nodeRange of [ 'node0', 'node4', 'node6', 'node8', 'node10' ]) {
const nodeVersion = nodeRangeToNodeVersion(nodeRange);
for (const platform of knownPlatforms) {
const archs = [ 'x86', 'x64' ];
if (platform === 'linux') archs.push('armv7');

for (const platform of knownPlatforms) {
const nodeRanges = [ 'node8', 'node10', 'node12' ];
if (platform === 'linux') nodeRanges.unshift('node4');
if (platform !== 'macos' && platform !== 'win') nodeRanges.unshift('node6');
for (const nodeRange of nodeRanges) {
const nodeVersion = nodeRangeToNodeVersion(nodeRange);
const archs = [ 'x64' ];
if (platform === 'win') archs.unshift('x86');
// TODO restore // if (platform === 'linux') archs.push('armv7');
// linux-armv7 is needed in multi-arch tests,
// so keeping it here as obligatory. but let's
// leave compiling for freebsd to end users
Expand Down

0 comments on commit 8616bb6

Please sign in to comment.