update tests

This commit is contained in:
igorklopov 2016-10-06 12:57:59 +03:00
parent 72f64d3c85
commit 24548fd4e6
2 changed files with 3 additions and 2 deletions

View File

@ -59,6 +59,7 @@ async function compileOnUnix (nodeVersion, targetArch) {
// also we don't support any kind of debugging
// against packaged apps, hence v8_inspector is useless
if (/^v?6/.test(nodeVersion)) args.push('--without-inspector');
// TODO same for windows?
// TODO same for node 7 and up?
await spawn('./configure', args, { cwd: nodePath });
const make = process.platform === 'freebsd' ? 'gmake' : 'make';

View File

@ -214,7 +214,7 @@ test(async () => {
'> Applying patches',
'patch -p1 -i ../patches/node.v6.3.1.patch {"cwd":"../temp/node"}',
'> Compiling Node.js from sources...',
'./configure --dest-cpu x64 {"cwd":"../temp/node"}',
'./configure --dest-cpu x64 --without-inspector {"cwd":"../temp/node"}',
'make {"cwd":"../temp/node"}',
'copyFile ../temp/node/out/Release/node v1337.2/built-v6.3.1-linux-x64',
'> Verifying built-v6.3.1-linux-x64...',
@ -232,7 +232,7 @@ test(async () => {
'> Applying patches',
'patch -p1 -i ../patches/node.v6.3.1.patch {"cwd":"../temp/node"}',
'> Compiling Node.js from sources...',
'./configure --dest-cpu ia32 {"cwd":"../temp/node"}',
'./configure --dest-cpu ia32 --without-inspector {"cwd":"../temp/node"}',
'make {"cwd":"../temp/node"}',
'copyFile ../temp/node/out/Release/node v1337.2/built-v6.3.1-linux-x86',
'> Verifying built-v6.3.1-linux-x86...',