Commit dc68451
committed
extension/test/runTest.ts: set GOTOOLCHAIN=local
This script runs in CI with the go version under testing.
Prevent the go toolchain switch from getting influenced by
extension/go.mod's choice of go version.
Add a go.mod file with go1.12 to extension/test/testdata/envTest
to make this not part of the extension module. That prevents
go toolchain switch to go1.23 to meet the extension module's
requirement during test (which will fail due to GOTOOLCHAIN=local)
after we update extension/go.mod to require go1.23.1+ in
CL 616677.
Adjust goExplorer.test.ts env tree items test that assumed
GOTOOLCHAIN is empty. Now the test runs with GOTOOLCHAIN=local.
Update .vscode/launch.json to pass GOTOOLCHAIN=local for
integration testing.
For #3411
Change-Id: I02f1cd6512a0030a729668221b163f6cc3e26b0f
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/619715
Reviewed-by: Robert Findley <[email protected]>
kokoro-CI: kokoro <[email protected]>
Commit-Queue: Hyang-Ah Hana Kim <[email protected]>1 parent b78b78e commit dc68451
File tree
4 files changed
+32
-5
lines changed- .vscode
- extension/test
- integration
- testdata/envTest
4 files changed
+32
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
32 | 46 | | |
33 | | - | |
| 47 | + | |
34 | 48 | | |
35 | 49 | | |
36 | 50 | | |
37 | 51 | | |
38 | 52 | | |
39 | 53 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
44 | 62 | | |
45 | 63 | | |
46 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments