Closed MathiasMagnus closed 12 months ago
This is likely by design. We rely on Test.xml to get test results, and the CMake command executed doesn't generate one. I think you probably changed your ctestDefaultArgs setting. You'll need to add {"-T", "test"}
to it.
This issue is now marked as 'stale' due to there being no activity on it for the past 30 days and being labelled 'more info needed'. Unless the 'stale' label is removed or the issue is commented on, this will be closed in 7 days. If you would like to make this issue exempt from getting stale, please remove the 'more info needed' and 'stale' labels or add the 'stale-exempt' label
This issue is now closed due to there being no activity on it for the past 7 days since being marked as 'stale'.
Brief Issue Summary
CMake Tools' test execution can't seem to handle tests that don't relate to any particular target. When running tests over
ExternalProject
s viaadd_test(NAME XYZ COMMAND "${CMAKE_TEST_COMMAND}" ...)
even though the tests execute just fine as shown in the output window, the extension still thinks that the test failed. CMake Test Explorer executes the tests and reports on their status as expected.CMake Tools Diagnostics
Debug Log
Additional Information