Catch2 can add label to each test case,e.g
testf.cpp:
TEST_CASE("test function","[part-1]")
Then using the command line, we can specify only to run part-1
./testf [part-1]
So my question is how to achieve the same effect when using ctest. I know ctest may have its own way to label the test cases. But is it possible to just utilize the catch2 label?
I've tried
ctest -C [part-1]
But it doesn't work