build and run only one rostest
I have
add_rostest_gtest(TestClassA test/ClassA.test src/test/TestClassA.cpp)
add_rostest_gtest(TestClassB test/ClassB.test src/test/TestClassB.cpp)
and I want to build and execute just TestClassB and nothing else. I already know how to limit this to only that package:
catkin run_tests --no-deps my_package
But this still builds all the unit tests in my_package. Also every other time I get:
IOError: cannot create test results directory [/home/.../my_package]. Please check permissions.
So is there a way to build the tests but not to run them, and is there a way to build just one test?