cmCTestBuildAndTest: Adopt RunTest method

The method is now specific to this class.
4 files changed