build: add node_lib_target_name to cctest deps · nodejs/node@8c93499 · GitHub
Skip to content

Commit 8c93499

Browse files
danbevMylesBorins
authored andcommitted
build: add node_lib_target_name to cctest deps
Currently the cctest target depend on the node_core_target_name target. But it is the node_lib_target_name target that compiles the sources now which means that if a source file in src is updated the cctest executable will not be re-linked against it, but will remain unchanged. The code will still be compiled, just not linked which means that if you are debugging you'll not see the changes and also a warning will be displayed about this issue. This commit changes the cctest target to depend on node_lib_target_name. Backport-PR-URL: #18550 PR-URL: #18576 Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Yihong Wang <yh.wang@ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent 189e566 commit 8c93499

3 files changed

Lines changed: 25 additions & 158 deletions

File tree

node.gyp

Lines changed: 3 additions & 126 deletions

test/cctest/node_module_reg.cc

Lines changed: 0 additions & 30 deletions
This file was deleted.

test/cctest/test_node_postmortem_metadata.cc

Lines changed: 22 additions & 2 deletions

0 commit comments

Comments
 (0)