Skip to content

Commit df3d707

Browse files
committed
Use correct path.
1 parent 6d86e5b commit df3d707

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/runIntegrationTests.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ async function main() {
3030
console.log(`workspace path = '${workspacePath}'`);
3131

3232
// Run a build before the tests, to ensure that source generators are set up correctly
33-
await execChildProcess(`dotnet build`, workspacePath);
33+
const dotnetPath = path.join(process.env.DOTNET_ROOT, 'dotnet');
34+
await execChildProcess(`${dotnetPath} build`, workspacePath);
3435

3536
// Download VS Code, unzip it and run the integration test
3637
await runTests({ extensionDevelopmentPath, extensionTestsPath, launchArgs: [workspacePath, '-n', '--verbose'], extensionTestsEnv: process.env });

0 commit comments

Comments
 (0)