Skip to content
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

[v8.x-backport] build: skip cctest on Windows shared lib build #25758

Closed

Conversation

BethGriggs
Copy link
Member

Backport to resolve simple conflict and to ensure this change makes it into v8.x.

cctest depends on some internal APIs which don't declare
__declspec(dllexport) and causes build failure when building
node as shared lib on Windows. Since we already have good test
coverage in static lib, we decide to skip the cctest in shared
lib build on Windows.

Signed-off-by: Yihong Wang yh.wang@ibm.com

PR-URL: #21228
Reviewed-By: Refael Ackermann refack@gmail.com

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

@BethGriggs BethGriggs changed the title [v8.x-staging] build: skip cctest on Windows shared lib build [v8.x-backport] build: skip cctest on Windows shared lib build Jan 28, 2019
@richardlau richardlau added windows Issues and PRs related to the Windows platform. v8.x shared_lib Issues and PRs related to use of Node.js as a shared library. labels Jan 28, 2019
@BethGriggs
Copy link
Member Author

@BethGriggs
Copy link
Member Author

cctest depends on some internal APIs which don't declare
`__declspec(dllexport)` and causes build failure when building
node as shared lib on Windows. Since we already have good test
coverage in static lib, we decide to skip the cctest in shared
lib build on Windows.

Signed-off-by: Yihong Wang <yh.wang@ibm.com>

PR-URL: nodejs#21228
Reviewed-By: Refael Ackermann <refack@gmail.com>
BethGriggs pushed a commit that referenced this pull request Mar 20, 2019
cctest depends on some internal APIs which don't declare
`__declspec(dllexport)` and causes build failure when building
node as shared lib on Windows. Since we already have good test
coverage in static lib, we decide to skip the cctest in shared
lib build on Windows.

Signed-off-by: Yihong Wang <yh.wang@ibm.com>

Backport-PR-URL: #25758
PR-URL: #21228
Reviewed-By: Refael Ackermann <refack@gmail.com>
@BethGriggs
Copy link
Member Author

Landed on v8.x-staging

@BethGriggs BethGriggs closed this Mar 20, 2019
@BethGriggs BethGriggs deleted the backport-21228-to-v8.x branch March 20, 2019 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
shared_lib Issues and PRs related to use of Node.js as a shared library. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants