Skip to content

Commit

Permalink
Fix test issue #3589 (#3590)
Browse files Browse the repository at this point in the history
* fix test

* update changelog

* update changelog
  • Loading branch information
gcampbell-msft authored Feb 14, 2024
1 parent ee39228 commit 2878725
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# What's New?

## 1.17
## 1.17.16

Bug Fixes:

- Fix an issue where we weren't able to run tests when not using Presets. [#3589](https://github.com/microsoft/vscode-cmake-tools/issues/3589)

## 1.17.15

Features:

Expand Down
2 changes: 1 addition & 1 deletion src/ctest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ export class CTestDriver implements vscode.Disposable {

const ctestArgs = await this.getCTestArgs(driver, customizedTask, testPreset);

if (!driver.testPreset) {
if (!driver.testPreset && driver.useCMakePresets) {
log.error('test.preset.not.set', 'Test preset is not set');
return -3;
}
Expand Down

0 comments on commit 2878725

Please sign in to comment.