microsoft / microsoft/vscode-cmake-tools

Don't use flags of the selected test preset when running an individual test

Open
#3,152 6 comments 0 reactions 1 assignee Claimed by @xisui-MSFT View on GitHub
enhancement Feature: ctest
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

I have an active selected test preset that filters out a couple of tests. Now I want to run a single test through the test explorer, that is not part of the test preset. But the extension executes ctest by passing the filter from the selected test preset, and so the result is that ctest can't find the test.

Running an individual test through the test explorer should not use any options/flags of the currently selected test preset.

### CMake Tools Diagnostics

_No response_

### Debug Log

_No response_

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.