Add test for native addon making use of zlib #7535
Copy link
Copy link
Closed
Labels
addonsIssues and PRs related to native addons.Issues and PRs related to native addons.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.zlibIssues and PRs related to the zlib module and its compression dependencies.Issues and PRs related to the zlib module and its compression dependencies.
Description
Activity
- addedaddonsIssues and PRs related to native addons.Issues and PRs related to native addons.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.zlibIssues and PRs related to the zlib module and its compression dependencies.Issues and PRs related to the zlib module and its compression dependencies.
on Jul 4, 2016 /cc @addaleax :-)
Yeah, this should be possible since 359352c. I’ll try and see if I can get something together based on what @bnoordhuis already did in #6274.
- added a commit that references this issue
on Aug 9, 2016 - added a commit that references this issue
on Aug 20, 2016 - added a commit that references this issue
on Sep 30, 2016 - added a commit that references this issue
on Jul 27, 2026
Metadata
Metadata
Assignees
Labels
addonsIssues and PRs related to native addons.Issues and PRs related to native addons.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.zlibIssues and PRs related to the zlib module and its compression dependencies.Issues and PRs related to the zlib module and its compression dependencies.
Just like #6274 we need a test for zlib usage. The node.exe binary on Windows does not export zlib symbols and this can be fixed by linking against a .def file with these symbols added.
A basic test could be something like this: