mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
test: bump --stack-size to stop child fails on ARM
On ARM, we get a "Maximum call stack size exceeded" when using require() in the child process, bump it up a bit to avoid the failures so we can test what we are actually after Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> PR-URL: https://github.com/iojs/io.js/pull/14
This commit is contained in:
1 parent
e05dff1e60
commit
e0852118cb
2 files changed
+2
-2
No files matched your search
@@ -31,7 +31,7 @@ if (process.argv[2] === 'fork') {
|
||||
} else if (process.argv[2] === 'child') {
|
||||
fork(__filename, ['fork']);
|
||||
} else {
|
||||
var execArgv = ['--harmony_proxies', '--stack-size=64'];
|
||||
var execArgv = ['--harmony_proxies', '--stack-size=256'];
|
||||
var args = [__filename, 'child', 'arg0'];
|
||||
|
||||
var child = spawn(process.execPath, execArgv.concat(args));
|
||||
|
||||
@@ -25,7 +25,7 @@ var spawn = require('child_process').spawn;
|
||||
if (process.argv[2] === 'child') {
|
||||
process.stdout.write(JSON.stringify(process.execArgv));
|
||||
} else {
|
||||
var execArgv = ['--harmony_proxies', '--stack-size=64'];
|
||||
var execArgv = ['--harmony_proxies', '--stack-size=256'];
|
||||
var args = [__filename, 'child', 'arg0'];
|
||||
var child = spawn(process.execPath, execArgv.concat(args));
|
||||
var out = '';
|
||||
|
||||
Reference in new issue
Block a user