[PATCH] CMake: generate check targets for lit suites without their own lit.cfgs

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 13:51:24 PDT 2016


Currently our cmake generates targets like check-llvm-unit and
check-llvm-transforms-loopunroll-x86, but not check-llvm-transforms or
check-llvm-transforms-adce. This is because the search for test suites
only lists the ones with a custom lit.cfg or lit.local.cfg.

The attached patch does something a little smarter - any directory under
test that isn't called Inputs or inside a directory called Inputs is a
test suite. I suspect we can't actually do it this way though, since I
guess windows probably doesn't have find. Thoughts?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lit-suites.patch
Type: text/x-patch
Size: 929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160426/042258af/attachment.bin>


More information about the llvm-commits mailing list