Hello,<div><br></div><div>This pair of patches factors the CMake code for building lit testsuites into LLVM's CMake support modules. The LLVM side is very safe, so I'm not worried about it, however the Clang side has a tricky aspect to it.</div>
<div><br></div><div>Because we have a standalone build, it has to do some custom logic to find lit and setup its own lit running rule manually. I don't have a reliable way to test the standalone build (as I don't use it, and it doesn't work well on the OSes I have to test on right this moment) so was hoping someone who does use that setup could patch these and let me know if they cause problems.</div>
<div><br></div><div>-Chandler</div>