microsoft / microsoft/vscode-cmake-tools

Test Discovery and Test results not working due to Path problem

Open
#3,842 7 comments 0 reactions 0 assignees View on GitHub
Feature: ctest Feature: presets Feature: Test Explorer repro needed
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

see [this discusssion](https://github.com/microsoft/vscode-cmake-tools/discussions/3841) to get context.
**My hypothesis:**
Problems when Test binary is not in root binaryDir (from CMakePresets.json)

### CMake Tools Diagnostics

_No response_

### Debug Log

_No response_

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Read discussion 3841 and inspect how CMakePresets.json handles a test binary outside the root binaryDir. Reproduce that layout, then trace test discovery and test-result paths. Done means tests are discovered and their results work for that preset.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
build-system, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.