problem with Test (GTest) integration in Test Explorer #3841
-
Hello everyone, With last version of cmake-tools plugin (V1.19.10) and also last rc version of cmake (3.30rc3), my test explorer and test result tabs remains "empty" whereas using CTest in CLI works normally and show me different tests in different test suites. To be more precise and to give you some inputs: When I say "empty", the fact is that I have only one item in my tree named as my project name So I search why the test discovery process "fails" ctest --show-only=json-v1 --test-dir /home/tof/WorkSpace/BMS_Project/build/Release/src/tests > /tmp/test_list.json Using the old fashion ctest -N is also OK ctest -N --test-dir /home/tof/WorkSpace/BMS_Project/build/Release/src/tests My hypothesis:Problem with CTestArgs during the discovery phase??? more little things...: {
"cmake.ctestArgs": [
"--test-dir",
"/home/tof/WorkSpace/BMS_Project/build/Release/src/tests"
],
"cmake.ctest.testExplorerIntegrationEnabled": true,
"cmake.ctest.allowParallelJobs": true,
"cmake.ctest.parallelJobs": 2,
"cmake.ctestDefaultArgs": [
"--output-on-failure"
]
} When switching Other Note: Same thing for test results Please helpAny idea to solve this issue for me will be highly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@tofDou Thanks for all of this testing and information! We primarily follow up with an track issues, so if you could update your issue here: #3842 with all of this context, it would make things easier. I'll follow up with some thoughts and questions in the issue. |
Beta Was this translation helpful? Give feedback.
@tofDou Thanks for all of this testing and information! We primarily follow up with an track issues, so if you could update your issue here: #3842 with all of this context, it would make things easier. I'll follow up with some thoughts and questions in the issue.