Skip to content

Conversation

dibarbet
Copy link
Member

@dibarbet dibarbet commented Feb 4, 2025

@dibarbet dibarbet requested a review from a team as a code owner February 4, 2025 21:55
import { EOL } from 'os';
import { LogOutputChannel } from 'vscode';

export function getProfilingEnvVars(outputChannel: LogOutputChannel): NodeJS.ProcessEnv {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// Ensure the profiling output folder exists, otherwise the outputs will not get written.
fs.mkdirSync(path.join(outPath, 'profiling'), { recursive: true });

await runIntegrationTest(
Copy link
Member Author

@dibarbet dibarbet Feb 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now we just run the C# integration tests. The devkit ones seem to be slightly less stable. We can consider expanding this in the future.

Most of the data should be the same regardless (minus a few service broker entry points)

}

// Function to spawn a tool
function spawnTool(command: string, args: string[], warnOnError = false) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

export const basicSlnTestProject = 'slnWithCsproj';
export const integrationTestProjects = [basicSlnTestProject];

export async function runDevKitIntegrationTests(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

everything here is just moved basically unchanged.

@dibarbet dibarbet merged commit 180f2a2 into dotnet:main Feb 5, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants