I tried using gr_modtool in v3.9.5.0 to add a block, including python and C++ QA code. I then did a gr_modtool rm on that block, but the C++ QA code file was not removed, and the file shows up in the lib/CMakeLists.txt file.
I tried a test with the same thing in v3.8.5.0, and it seems like the C++ file and reference were removed. I couldn't find any reference to it being changed, so I guess I'm just checking to see if there is an issue with me, or the tool. Regards, Jeff