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

test: avoid copying test source files #49515

Closed
wants to merge 2 commits into from

Conversation

legendecas
Copy link
Member

Inline the helper functions and make the helper file
header only. So that no files need to be copied during the build (as in test/js-native-api/test_cannot_run_js/binding.gyp).

Refs: #48297 (comment)

Converting the helper functions to be inlined and making the helper file
header only.
@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Sep 6, 2023

Review requested:

  • @nodejs/gyp
  • @nodejs/node-api

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. labels Sep 6, 2023
@legendecas legendecas added test Issues and PRs related to the tests. node-api Issues and PRs related to the Node-API. build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. and removed build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. labels Sep 6, 2023
@lpinca lpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 7, 2023
@lpinca
Copy link
Member

lpinca commented Sep 7, 2023

I would also add a commit that reverts d15652e.

@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 7, 2023
@nodejs-github-bot
Copy link
Collaborator

@legendecas legendecas added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 7, 2023
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 7, 2023
@nodejs-github-bot
Copy link
Collaborator

@legendecas
Copy link
Member Author

I would also add a commit that reverts d15652e.

Thanks for the suggestion, applied the revert.

@nodejs-github-bot
Copy link
Collaborator

@legendecas legendecas added commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. commit-queue Add this label to land a pull request using GitHub Actions. labels Sep 10, 2023
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 10, 2023
@nodejs-github-bot
Copy link
Collaborator

Landed in ae115d6...c55625f

nodejs-github-bot pushed a commit that referenced this pull request Sep 10, 2023
Converting the helper functions to be inlined and making the helper file
header only.

PR-URL: #49515
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
nodejs-github-bot pushed a commit that referenced this pull request Sep 10, 2023
This reverts commit d15652e.

PR-URL: #49515
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
@legendecas legendecas deleted the node-api/test-headers branch September 10, 2023 16:57
ruyadorno pushed a commit that referenced this pull request Sep 28, 2023
Converting the helper functions to be inlined and making the helper file
header only.

PR-URL: #49515
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
ruyadorno pushed a commit that referenced this pull request Sep 28, 2023
This reverts commit d15652e.

PR-URL: #49515
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
This was referenced Sep 28, 2023
alexfernandez pushed a commit to alexfernandez/node that referenced this pull request Nov 1, 2023
Converting the helper functions to be inlined and making the helper file
header only.

PR-URL: nodejs#49515
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
alexfernandez pushed a commit to alexfernandez/node that referenced this pull request Nov 1, 2023
This reverts commit d15652e.

PR-URL: nodejs#49515
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
targos pushed a commit that referenced this pull request Nov 27, 2023
Converting the helper functions to be inlined and making the helper file
header only.

PR-URL: #49515
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
sercher added a commit to sercher/graaljs that referenced this pull request Apr 25, 2024
Converting the helper functions to be inlined and making the helper file
header only.

PR-URL: nodejs/node#49515
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
sercher added a commit to sercher/graaljs that referenced this pull request Apr 25, 2024
Converting the helper functions to be inlined and making the helper file
header only.

PR-URL: nodejs/node#49515
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. commit-queue-rebase Add this label to allow the Commit Queue to land a PR in several commits. needs-ci PRs that need a full CI run. 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.

4 participants