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

[v6.x backport] test: preserve env in test cases #18883

Closed

Conversation

BethGriggs
Copy link
Member

Allows env vars to be passed through to child processes. This is needed for
things like NODE_TEST_DIR or LD_LIBRARY_PATH if testing the shared library.

Refs: #13390

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows [commit guidelines]
Affected core subsystem(s)

test

Original PR: #14822

@nodejs-github-bot nodejs-github-bot added test Issues and PRs related to the tests. v6.x labels Feb 20, 2018
@BethGriggs BethGriggs force-pushed the backport-14822-to-v6.x branch from 562d1b7 to 332a31a Compare February 21, 2018 13:23
@gibfahn
Copy link
Member

gibfahn commented Feb 21, 2018

Allows env vars to be passed through to child processes. This is needed
for things like NODE_TEST_DIR or LD_LIBRARY_PATH if testing the shared
library.

PR-URL: nodejs#14822
Refs: nodejs#13390
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@BethGriggs BethGriggs force-pushed the backport-14822-to-v6.x branch from 332a31a to 916d981 Compare February 21, 2018 15:12
@gibfahn
Copy link
Member

gibfahn commented Feb 21, 2018

CI 2: https://ci.nodejs.org/job/node-test-commit/16407/

EDIT: CI is green

@BethGriggs BethGriggs closed this Feb 21, 2018
@BethGriggs BethGriggs deleted the backport-14822-to-v6.x branch February 21, 2018 15:34
@BethGriggs BethGriggs reopened this Feb 21, 2018
@BethGriggs BethGriggs restored the backport-14822-to-v6.x branch February 21, 2018 15:36
@MylesBorins
Copy link
Contributor

landed in fdf73b1

MylesBorins pushed a commit that referenced this pull request Feb 27, 2018
Allows env vars to be passed through to child processes. This is needed
for things like NODE_TEST_DIR or LD_LIBRARY_PATH if testing the shared
library.

Backport-PR-URL: #18883
PR-URL: #14822
Refs: #13390
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@BethGriggs BethGriggs deleted the backport-14822-to-v6.x branch July 9, 2018 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants