Sorry for delay, I haven't yet had a chance to review this. IIRC the rest of LLVM regression test suites doesn't really work with CTest, though. Not sure if it's a good temporary solution. Anyway, will provide more comments later. http://reviews.llvm.org/D4251