Skip to content

Commit 632b758

Browse files
mcodillaCopilot
andauthored
Update src/ctest.ts
Co-authored-by: Copilot <[email protected]>
1 parent fb2f7c0 commit 632b758

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/ctest.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1889,7 +1889,9 @@ export class CTestDriver implements vscode.Disposable {
18891889
if (test.children.size > 0) {
18901890
const children = this.testItemCollectionToArray(test.children);
18911891
for (const child of children) {
1892-
await this.getTestTargets(child, foundTarget, run);
1892+
if (!await this.getTestTargets(child, foundTarget, run)) {
1893+
return false;
1894+
}
18931895
}
18941896
} else {
18951897
const testProgram = this.testProgram(test.id);

0 commit comments

Comments
 (0)