Skip to content

Commit

Permalink
fix ctest no tests found error
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutoshvarma committed Mar 20, 2020
1 parent 4c43d3c commit 0fbeeac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ class CMakeRunner {
...this._options.extraArgs.extraTestArgs.split(' ')
];
}
const result = this.ctest(execOptions);
const result = yield this.ctest(execOptions);
process.chdir(pwdCurrent);
return result;
});
Expand Down
2 changes: 1 addition & 1 deletion src/cmake_runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class CMakeRunner {
...this._options.extraArgs.extraTestArgs.split(' ')
]
}
const result: Promise<number> = this.ctest(execOptions)
const result: number = await this.ctest(execOptions)
process.chdir(pwdCurrent)
return result
}
Expand Down

0 comments on commit 0fbeeac

Please sign in to comment.