microsoft / vscode-cmake-tools

CMake integration in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=vector-of-bool.cmake-tools
MIT License
1.43k stars 429 forks source link

Test Discovery and Test results not working due to Path problem #3842

Open tofDou opened 1 week ago

tofDou commented 1 week ago

Brief Issue Summary

see this discusssion 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

gcampbell-msft commented 1 week ago

@tofDou Thanks for the issue, I've read through the discussion post and the main way that we would be able to assist and investigate for this would be if you could possibly provide a simple repro project, thanks!

@Yingzi1234 FYI.

Yingzi1234 commented 21 hours ago

@tofDou Thank you for your github issue! We apologize for taking so long to respond to your message. In order to better reproduce your problem, could you provide a copy of the reproduction file? Could you try the following steps to see if you can solve the problem?

  1. Update the VSCode and CMake Tools version;
  2. Check the path where CTest is generated and executed