Browse Source

test: update V8 flag in test

--expose-debug-as is deprecated in V8, switch test-preload.js to a flag
that still exists.

PR-URL: https://github.com/nodejs/node/pull/10917
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
v6
Franziska Hinkelmann 8 years ago
committed by Michaël Zasso
parent
commit
4f8582e533
  1. 2
      test/parallel/test-preload.js

2
test/parallel/test-preload.js

@ -139,7 +139,7 @@ childProcess.exec(
// https://github.com/nodejs/node/issues/1691
process.chdir(common.fixturesDir);
childProcess.exec(
nodeBinary + ' ' + '--expose_debug_as=v8debug ' + '--require ' +
nodeBinary + ' ' + '--expose_natives_as=v8natives ' + '--require ' +
fixture('cluster-preload.js') + ' ' + 'cluster-preload-test.js',
function(err, stdout, stderr) {
assert.ifError(err);

Loading…
Cancel
Save