Closed
Description
The test runner for asm.js targets currently always runs them via nodejs
, but that name is not universal across distributions- in fact the official name for the Node binary is node
. Debian (and presumably Debian derivatives) uses the former name due to a name conflict with another tool.
It would be good to support both via detection at runtime, probably preferring nodejs
and trying node
if that is not available. In the interest of performance, this should probably be tested only once per run, with a lazy static or similar. Reporting an error if neither is found would also be useful, rather than the current behavior of failing tests due to being unable to invoke the javascript engine.
Metadata
Metadata
Assignees
Labels
No labels