|
38 | 38 | "PATH": "${env:PATH}"
|
39 | 39 | }
|
40 | 40 | },
|
41 |
| - { |
42 |
| - "name": "(vscode) Run testsuite 'general'", |
43 |
| - "type": "extensionHost", |
44 |
| - "request": "launch", |
45 |
| - "runtimeExecutable": "${execPath}", |
46 |
| - "outFiles": [ |
47 |
| - "${workspaceFolder}/integration/vscode/ada/out/**/*.js", |
48 |
| - "!**/node_modules/**" |
49 |
| - ], |
50 |
| - "args": [ |
51 |
| - "--extensionDevelopmentPath=${workspaceFolder}/integration/vscode/ada", |
52 |
| - "--extensionTestsPath=${workspaceFolder}/integration/vscode/ada/out/test/suite/general/index", |
53 |
| - "${workspaceFolder}/integration/vscode/ada/test/workspaces/general" |
54 |
| - ], |
55 |
| - // Below we make the executables of node modules visible to the tests. |
56 |
| - // In particular, vscode-tmgrammar-snap is used for syntax highlighting |
57 |
| - // tests. |
58 |
| - "env": { |
59 |
| - "MOCHA_GREP": "${input:testPattern}", |
60 |
| - // This is necessary to make the "child" vscode inherit the PATH |
61 |
| - // variable set in the workspace settings. Without it in some setups |
62 |
| - // (e.g. vscode remote) the child vscode does not get visibility |
63 |
| - // over the Ada toolchain available in the parent vscode |
64 |
| - // environment. |
65 |
| - "PATH": "${env:PATH}", |
66 |
| - // This is custom env var that we use in |
67 |
| - // integration/vscode/ada/test/suite/index.ts to prevent timeouts in |
68 |
| - // tests when debugging |
69 |
| - "MOCHA_TIMEOUT": "0", |
70 |
| - "MOCHA_ALS_UPDATE": "${input:updateTestRefs}" |
71 |
| - }, |
72 |
| - "preLaunchTask": "npm: pretest - integration/vscode/ada", |
73 |
| - "internalConsoleOptions": "openOnSessionStart" |
74 |
| - }, |
75 |
| - { |
76 |
| - "name": "(vscode) Run testsuite 'gnattest'", |
77 |
| - "type": "extensionHost", |
78 |
| - "request": "launch", |
79 |
| - "runtimeExecutable": "${execPath}", |
80 |
| - "outFiles": [ |
81 |
| - "${workspaceFolder}/integration/vscode/ada/out/**/*.js", |
82 |
| - "!**/node_modules/**" |
83 |
| - ], |
84 |
| - "args": [ |
85 |
| - "--extensionDevelopmentPath=${workspaceFolder}/integration/vscode/ada", |
86 |
| - "--extensionTestsPath=${workspaceFolder}/integration/vscode/ada/out/test/suite/gnattest/index", |
87 |
| - "${workspaceFolder}/integration/vscode/ada/test/workspaces/gnattest" |
88 |
| - ], |
89 |
| - // Below we make the executables of node modules visible to the tests. |
90 |
| - // In particular, vscode-tmgrammar-snap is used for syntax highlighting |
91 |
| - // tests. |
92 |
| - "env": { |
93 |
| - "MOCHA_GREP": "${input:testPattern}", |
94 |
| - // This is necessary to make the "child" vscode inherit the PATH |
95 |
| - // variable set in the workspace settings. Without it in some setups |
96 |
| - // (e.g. vscode remote) the child vscode does not get visibility |
97 |
| - // over the Ada toolchain available in the parent vscode |
98 |
| - // environment. |
99 |
| - "PATH": "${env:PATH}", |
100 |
| - // This is custom env var that we use in |
101 |
| - // integration/vscode/ada/test/suite/index.ts to prevent timeouts in |
102 |
| - // tests when debugging |
103 |
| - "MOCHA_TIMEOUT": "0", |
104 |
| - "MOCHA_ALS_UPDATE": "${input:updateTestRefs}" |
105 |
| - }, |
106 |
| - "preLaunchTask": "npm: pretest - integration/vscode/ada", |
107 |
| - // Switch to Debug Console to see test results |
108 |
| - "internalConsoleOptions": "openOnSessionStart" |
109 |
| - }, |
110 |
| - { |
111 |
| - "name": "(vscode) Run testsuite 'workspace_missing_dirs'", |
112 |
| - "type": "extensionHost", |
113 |
| - "request": "launch", |
114 |
| - "runtimeExecutable": "${execPath}", |
115 |
| - "outFiles": [ |
116 |
| - "${workspaceFolder}/integration/vscode/ada/out/**/*.js", |
117 |
| - "!**/node_modules/**" |
118 |
| - ], |
119 |
| - "args": [ |
120 |
| - "--extensionDevelopmentPath=${workspaceFolder}/integration/vscode/ada", |
121 |
| - "--extensionTestsPath=${workspaceFolder}/integration/vscode/ada/out/test/suite/workspace_missing_dirs/index", |
122 |
| - "${workspaceFolder}/integration/vscode/ada/test/workspaces/workspace_missing_dirs" |
123 |
| - ], |
124 |
| - // Below we make the executables of node modules visible to the tests. |
125 |
| - // In particular, vscode-tmgrammar-snap is used for syntax highlighting |
126 |
| - // tests. |
127 |
| - "env": { |
128 |
| - "MOCHA_GREP": "${input:testPattern}", |
129 |
| - // This is necessary to make the "child" vscode inherit the PATH |
130 |
| - // variable set in the workspace settings. Without it in some setups |
131 |
| - // (e.g. vscode remote) the child vscode does not get visibility |
132 |
| - // over the Ada toolchain available in the parent vscode |
133 |
| - // environment. |
134 |
| - "PATH": "${env:PATH}", |
135 |
| - // This is custom env var that we use in |
136 |
| - // integration/vscode/ada/test/suite/index.ts to prevent timeouts in |
137 |
| - // tests when debugging |
138 |
| - "MOCHA_TIMEOUT": "0", |
139 |
| - "MOCHA_ALS_UPDATE": "${input:updateTestRefs}" |
140 |
| - }, |
141 |
| - "preLaunchTask": "npm: pretest - integration/vscode/ada", |
142 |
| - // Switch to Debug Console to see test results |
143 |
| - "internalConsoleOptions": "openOnSessionStart" |
144 |
| - }, |
145 | 41 | {
|
146 | 42 | "name": "(npm) Launch all vscode tests with npm",
|
147 | 43 | "type": "node",
|
|
0 commit comments