-
Notifications
You must be signed in to change notification settings - Fork 450
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
Enforcing consistent access to environment variables #2236
Conversation
93ed60e
to
819081f
Compare
Thank you for continuing to work on this! I'll try to take a look soon, but I currently have some vacation time planned and other time critical things to complete this month which may make that difficult. |
78d0737
to
57294f5
Compare
@bobbrow Hi, ping for review to avoid conflict with the repository |
I will be looking at this today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still need to test it, but here is the initial review.
913028c
to
5bcf75d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved. After enabling the Windows CI #2295, I will merge with this, run one last test pass, and then commit.
One last question. I still see a lot of direct interaction with |
Hi, there is no need modify |
Can this be merged now? |
9784603
to
d5608a7
Compare
The following error are copied from https://github.com/microsoft/vscode-cmake-tools/runs/4933169033?check_suite_focus=true ``` 2022-01-25T07:38:39.8034093Z �[0m 1) CMake FileAPI driver tests 2022-01-25T07:38:39.8035702Z All target for Visual Studio Community 2019 - amd64: 2022-01-25T07:38:39.8038322Z �[0m�[31m Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (d:\a\vscode-cmake-tools\vscode-cmake-tools\out\test\unit-tests\driver\cmfileapi-driver.test.js)�[0m�[90m 2022-01-25T07:38:39.8040365Z at listOnTimeout (internal/timers.js:554:17) 2022-01-25T07:38:39.8041995Z at processTimers (internal/timers.js:497:7) 2022-01-25T07:38:39.8043420Z �[0m 2022-01-25T07:38:39.8044865Z �[0m 2) Kits scan test 2022-01-25T07:38:39.8058046Z Detect system kits never throws: 2022-01-25T07:38:39.8061281Z �[0m�[31m Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (d:\a\vscode-cmake-tools\vscode-cmake-tools\out\test\unit-tests\kit-scan.test.js)�[0m�[90m 2022-01-25T07:38:39.8063425Z at listOnTimeout (internal/timers.js:554:17) 2022-01-25T07:38:39.8065171Z at processTimers (internal/timers.js:497:7) ``` Signed-off-by: Yonggang Luo <[email protected]>
Signed-off-by: Yonggang Luo <[email protected]>
…bles on win32 properly Fixes microsoft#1592 Fixes debug launch when user didn't configure the debug environment Fixes microsoft#2237 Getting Backend tests no need to tsc -p And testing environment variables properly runCompileCommand use getCMakeBuildCommandEnvironment Getting getCMakeBuildCommandEnvironment to be consistence with getCTestCommandEnvironment and getConfigureEnvironment Rename HardEnv to Environment Convert expandString to template. Add tests for nodejs util.inspect Calling to fixPaths properly Signed-off-by: Yonggang Luo <[email protected]>
@andreeis was almost done with the validation and then had to take some sick leave. This will go in soon. Thank you for your patience. |
I merged it. We will continue to test as we have time, but I believe it will be good if future development already has this change in as it will add additional coverage. |
This change addresses item
Fixes #1592
Replacement of #2025
Fixes #2237
Fixes #1987This changes
The following changes are proposed:
The purpose of this change