Merge topic 'ctest-build-and-test' 79428efce0 cmCTestBuildAndTest: Adopt RunTest method c7d11a77e4 ctest: Remove outdated optimization of tests running ctest itself b2b7c4cc28 cmCTest: Remove unused functionality from RunTest method 38ad939383 cmCTest: Fix clang-tidy performance-unnecessary-copy-initialization diagnostic Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9907