Skip to content

build: for --enable-static, run only cctest

Refs: https://github.com/nodejs/node/issues/14158

Currently when building with --enable-static and running the test target the following error will be reported:

Building addon
/node/test/addons/01_function_arguments/
env: ./node: No such file or directory
make[1]: *** [test/addons/.buildstamp] Error 1

Note that this is with a clean build where no prior node executable was built.

This commit suggests only running the cctest target when --enable-static is specified.

[refack: added refs]

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

build

Merge request reports

Loading