Browse Source

tools, test: update test-npm-package paths

Makes the same changes as
994617370e
to update the test runner for npm5.

PR-URL: https://github.com/nodejs/node/pull/13441
Refs: https://github.com/nodejs/node/pull/12936
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
v6
Gibson Fahnestock 8 years ago
parent
commit
6bcea5c536
No known key found for this signature in database GPG Key ID: B01FBB92821C587A
  1. 3
      tools/test-npm-package.js

3
tools/test-npm-package.js

@ -24,7 +24,7 @@ const path = require('path');
const common = require('../test/common');
const projectDir = path.resolve(__dirname, '..');
const npmBin = path.join(projectDir, 'deps', 'npm', 'cli.js');
const npmBin = path.join(projectDir, 'deps', 'npm', 'bin', 'npm-cli.js');
const nodePath = path.dirname(process.execPath);
function spawnCopyDeepSync(source, destination) {
@ -82,6 +82,7 @@ function runNPMPackageTests({ srcDir, install, rebuild, testArgs, logfile }) {
npmBin,
'install',
'--ignore-scripts',
'--no-save',
], npmOptions);
}

Loading…
Cancel
Save