-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConsoleAgent passes the path first, which doesn't work with node #31
Comments
See also: tc39/test262#1156 (comment) I have a patch written for this, I'm just working out some testing details with @jugglinmike |
I think I also fixed this in the modules branch, fwiw: 6feab85#diff-bdbdfde5f543e4aca41ea83a7b18a3d9R17 (and related functionality). |
My patch is super simple... (in agents/node.js) class NodeAgent extends ConsoleAgent {
createChildProcess(args) {
return cp.spawn(this.hostPath, this.args.concat(args || []));
} |
This issue also affects:
|
Signed-off-by: Rick Waldron <[email protected]>
@ljharb ahh right, thanks. Guess that's blocked on making the tests pass. |
Yep, I'm tracking all of this on my end. I just resolved the ChakraCore --debug build requirement, waiting on CI. |
Correction to order of host args passed to cp.spawn. Fixes gh-31
When I try to run my finally tests with test262-harness, passing
--hostArgs='--harmony_promise_finally'
fails. However, when I edit this line in ConsoleAgent to beargs = this.args.concat(args)
, it passes.In other words, I think the tempfile path needs to be the last argument passed, at least in node.
The text was updated successfully, but these errors were encountered: