From e0232f10bc4feee323233b4eae28a5163eb2238b Mon Sep 17 00:00:00 2001 From: Garrett Campbell <86264750+gcampbell-msft@users.noreply.github.com> Date: Wed, 1 May 2024 14:45:25 -0400 Subject: [PATCH] update test issue (#3731) --- src/ctest.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ctest.ts b/src/ctest.ts index 4977f907..76dbec8f 100644 --- a/src/ctest.ts +++ b/src/ctest.ts @@ -1092,6 +1092,10 @@ export class CTestDriver implements vscode.Disposable { 'Debug Tests', vscode.TestRunProfileKind.Debug, (request: vscode.TestRunRequest, cancellation: vscode.CancellationToken) => { + if (request.include === undefined) { + return this.debugTestHandler(request, cancellation); + } + const testProject = this.projectController!.getAllCMakeProjects().filter( project => request.include![0].uri!.fsPath.includes(project.folderPath) );