Run tests as a single CTest invocation #3149
Labels
enhancement
an enhancement to the product that is either not present or an improvement to an existing feature
Feature: ctest
fixed (release pending)
fixed in pre-release and is pending official release
Milestone
Brief Issue Summary
I wasn't too excited to hear that CMake Tools started biting into Test Explorer integration, because Frederic Bonnet's CMake Test Explorer is an otherwise stellar extension doing the same thing and he has already fixed a lot of the issues CMake Tools is just about to encounter.
One of these issues is CMake Tools (like Frederic's extension initially) wanted to outsmart CTest and launch tests using various CTest invocations. The problem with this is that it breaks a lot of CTest functionality around Resource Awarness, Resource Locks and Fixtures. This issue of mine on his repo details what the problem is, but the gist of it is that it is virtually impossible to run tests in any other way than a single ctest CLI invocation without breaking test execution.
I am aware that CMake Tools advertized that initially tests can't run in parallel, however I wanted to note that however CMake Tools wishes to move forward, it should probably be formulating a single CLI invocation based on user input. CTest does a whole bunch of test provisioning that is extremely hard (if not impossible) to re-implement from outside. @xisui-MSFT
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: