Many of the test cases in the runtimes require LLVM's testing tools, to facilitate this working as expected we need to have all the test targets in the runtimes depend on the LLVM testing tools used in the runtimes.
The list of tools I've added here may not be the full or minimally correct list of tools, but this patch is a step in the right direction.
This blob here actually ends up duplicating the targets. During configuration of the runtime targets we generate a file "Components.cmake" that lists the build and check targets for each runtime library, and that gets imported back into the top-level build via the SUB_COMPONENT_CHECK_TARGETS variable.
This is what causes the CMake configuration errors on builds, and we need to remove this.