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

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Thu May 5 14:19:51 PDT 2016


Justin Bogner <mail at justinbogner.com> writes:
> 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?

I guess that version was too hokey to merit a response. Here's one that
only uses cmake machinery that shouldn't be contentious at all. WDYT?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lit-suites-cmake-only.patch
Type: text/x-patch
Size: 1468 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160505/ca7d716f/attachment.bin>


More information about the llvm-commits mailing list