brobeson / ctest-lab

A CTest extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=brobeson.ctest-lab
MIT License
1 stars 1 forks source link

During test discovery, exclude tests that are not available #12

Closed brobeson closed 2 years ago

brobeson commented 2 years ago

Some tests are not available until the user builds them. This happens, for example, with [Catch2's catch_discover_tests() command](). In these cases, the test name returned by CTest is foo_NOT_BUILT_<hash>. I can detect these cases and exclude them from discovery.