|
1 | 1 | const assert = require('assert')
|
2 | 2 | const types = {
|
3 |
| - 'tar.gz': 'src', |
4 | 3 | 'aix-ppc64': 'aix-ppc64',
|
5 | 4 | 'darwin-x64': 'osx-x64-tar',
|
6 | 5 | 'darwin-x86': 'osx-x86-tar',
|
7 |
| - pkg: 'osx-x64-pkg', |
| 6 | + headers: 'headers', |
8 | 7 | 'linux-arm64': 'linux-arm64',
|
9 |
| - 'linux-armv7l': 'linux-armv7l', |
10 | 8 | 'linux-armv6l': 'linux-armv6l',
|
11 |
| - 'linux-x64': 'linux-x64', |
12 |
| - 'linux-x86': 'linux-x86', |
| 9 | + 'linux-armv7l': 'linux-armv7l', |
13 | 10 | 'linux-ppc64le': 'linux-ppc64le',
|
14 | 11 | 'linux-s390x': 'linux-s390x',
|
| 12 | + 'linux-x64': 'linux-x64', |
| 13 | + 'linux-x86': 'linux-x86', |
| 14 | + 'node.exe': 'win-x86-exe', |
| 15 | + pkg: 'osx-x64-pkg', |
15 | 16 | 'smartos-x64': 'smartos-x64',
|
16 | 17 | 'smartos-x86': 'smartos-x86',
|
17 | 18 | 'sunos-x64': 'sunos-x64',
|
18 | 19 | 'sunos-x86': 'sunos-x86',
|
19 |
| - 'x64.msi': 'win-x64-msi', |
20 |
| - 'x86.msi': 'win-x86-msi', |
21 |
| - 'win-x64/iojs.exe': 'win-x64-exe', |
22 |
| - 'win-x86/iojs.exe': 'win-x86-exe', |
| 20 | + 'tar.gz': 'src', |
| 21 | + 'win-arm.7z': 'win-arm-7z', |
| 22 | + 'win-arm.zip': 'win-arm-zip', |
23 | 23 | 'win-arm/iojs.exe': 'win-arm-exe',
|
24 |
| - 'win-x64/node.exe': 'win-x64-exe', |
25 |
| - 'win-x86/node.exe': 'win-x86-exe', |
26 | 24 | 'win-arm/node.exe': 'win-arm-exe',
|
27 |
| - 'node.exe': 'win-x86-exe', |
28 |
| - 'x64/node.exe': 'win-x64-exe', |
29 | 25 | 'win-x64.7z': 'win-x64-7z',
|
30 |
| - 'win-x86.7z': 'win-x86-7z', |
31 |
| - 'win-arm.7z': 'win-arm-7z', |
32 | 26 | 'win-x64.zip': 'win-x64-zip',
|
| 27 | + 'win-x64/iojs.exe': 'win-x64-exe', |
| 28 | + 'win-x64/node.exe': 'win-x64-exe', |
| 29 | + 'win-x86.7z': 'win-x86-7z', |
33 | 30 | 'win-x86.zip': 'win-x86-zip',
|
34 |
| - 'win-arm.zip': 'win-arm-zip', |
35 |
| - headers: 'headers' |
| 31 | + 'win-x86/iojs.exe': 'win-x86-exe', |
| 32 | + 'win-x86/node.exe': 'win-x86-exe', |
| 33 | + 'x64.msi': 'win-x64-msi', |
| 34 | + 'x64/node.exe': 'win-x64-exe', |
| 35 | + 'x86.msi': 'win-x86-msi', |
| 36 | + // unofficial-builds: |
| 37 | + 'linux-x64-musl': 'linux-x64-musl', |
| 38 | + 'linux-x64-pointer-compression': 'linux-x64-pointer-compression', |
| 39 | + 'linux-x64-usdt': 'linux-x64-usdt', |
| 40 | + 'win-arm64.7z': 'win-arm64-7z', |
| 41 | + 'win-arm64.zip': 'win-arm64-zip' |
36 | 42 | }
|
37 | 43 |
|
38 | 44 | function transformFilename (file) {
|
@@ -147,7 +153,19 @@ if (module === require.main) {
|
147 | 153 | { file: 'node-v8.1.4-win-x86.7z', type: 'win-x86-7z' },
|
148 | 154 | { file: 'node-v8.1.4-win-x86.zip', type: 'win-x86-zip' },
|
149 | 155 | { file: 'node-v10.9.0-linux-s390x.tar.gz', type: 'linux-s390x' },
|
150 |
| - { file: 'node-v10.9.0-linux-s390x.tar.xz' } |
| 156 | + { file: 'node-v10.9.0-linux-s390x.tar.xz' }, |
| 157 | + { file: 'node-v14.13.0-headers.tar.gz', type: 'headers' }, |
| 158 | + { file: 'node-v14.13.0-headers.tar.xz' }, |
| 159 | + { file: 'node-v14.13.0-linux-armv6l.tar.gz', type: 'linux-armv6l' }, |
| 160 | + { file: 'node-v14.13.0-linux-armv6l.tar.xz' }, |
| 161 | + { file: 'node-v14.13.0-linux-x64-musl.tar.gz', type: 'linux-x64-musl' }, |
| 162 | + { file: 'node-v14.13.0-linux-x64-musl.tar.xz' }, |
| 163 | + { file: 'node-v14.13.0-linux-x64-pointer-compression.tar.gz', type: 'linux-x64-pointer-compression' }, |
| 164 | + { file: 'node-v14.13.0-linux-x64-pointer-compression.tar.xz' }, |
| 165 | + { file: 'node-v14.13.0-linux-x64-usdt.tar.gz', type: 'linux-x64-usdt' }, |
| 166 | + { file: 'node-v14.13.0-linux-x64-usdt.tar.xz' }, |
| 167 | + { file: 'node-v14.13.0-win-arm64.zip', type: 'win-arm64-zip' }, |
| 168 | + { file: 'node-v14.13.0-win-arm64.7z', type: 'win-arm64-7z' } |
151 | 169 | ]
|
152 | 170 |
|
153 | 171 | tests.forEach((test) => {
|
|
0 commit comments