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

n-api: use module name macro #16185

Closed
wants to merge 2 commits into from
Closed

n-api: use module name macro #16185

wants to merge 2 commits into from

Conversation

mhdawson
Copy link
Member

Update tests to use module name macro

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

n-api, test

Update tests to use module name macro
@nodejs-github-bot nodejs-github-bot added dont-land-on-v4.x node-api Issues and PRs related to the Node-API. test Issues and PRs related to the tests. labels Oct 13, 2017
Copy link
Contributor

@gabrielschulhof gabrielschulhof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mhdawson there are a few more:

$ git grep -nEH '^(NAPI|NODE)_MODULE' -- test | \
  grep -vE 'BUILTIN|NODE_GYP_MODULE_NAME|INTERNAL' | \
  awk -F ':' '{ print $1; }' | \
  sort -u
test/addons/callback-scope/binding.cc
test/addons/dlopen-ping-pong/binding.cc
test/addons-napi/test_warning/test_warning2.c
test/addons-napi/test_warning/test_warning.c
test/addons/node-module-version/binding.cc
test/addons/openssl-binding/binding.cc
test/addons/zlib-binding/binding.cc
test/gc/binding.cc

Might as well catch 'em all, eh?

@mhdawson
Copy link
Member Author

sure, I guess I used the wrong search. Updating now.

@mhdawson
Copy link
Member Author

Ah I see they are not in the n-api set thats why I did not see them. Anyway fixing them up

@mhdawson
Copy link
Member Author

@gabrielschulhof pushed commit to update the rest of them

@jasnell
Copy link
Member

jasnell commented Oct 15, 2017

jasnell pushed a commit that referenced this pull request Oct 15, 2017
Update tests to use module name macro

PR-URL: #16185
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@jasnell
Copy link
Member

jasnell commented Oct 15, 2017

Landed in 6bc82da

@jasnell jasnell closed this Oct 15, 2017
targos pushed a commit that referenced this pull request Oct 18, 2017
Update tests to use module name macro

PR-URL: #16185
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
addaleax pushed a commit to ayojs/ayo that referenced this pull request Oct 18, 2017
Update tests to use module name macro

PR-URL: nodejs/node#16185
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
gabrielschulhof pushed a commit to gabrielschulhof/node that referenced this pull request Apr 16, 2018
Update tests to use module name macro

PR-URL: nodejs#16185
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
MylesBorins pushed a commit that referenced this pull request Apr 16, 2018
Update tests to use module name macro

Backport-PR-URL: #19447
PR-URL: #16185
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@MylesBorins MylesBorins mentioned this pull request Apr 16, 2018
@mhdawson mhdawson deleted the module branch September 30, 2019 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
node-api Issues and PRs related to the Node-API. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants