Skip to content

Commit

Permalink
Support test executable's not equal to test target's name
Browse files Browse the repository at this point in the history
  • Loading branch information
basejumpa committed Nov 25, 2023
1 parent 6b237be commit bbbfccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmakeProject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2249,7 +2249,7 @@ export class CMakeProject {
}

if (name) {
const found = (await this.executableTargets).find(e => e.name === name);
const found = (await this.executableTargets).find(e => path.parse(e.path).name === name);
if (!found) {
return null;
}
Expand Down

0 comments on commit bbbfccc

Please sign in to comment.