[PATCH] D73980: [lit] add multi-cfgd test suite discovery

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 11:08:12 PST 2020


ychen added a comment.

In D73980#1862032 <https://reviews.llvm.org/D73980#1862032>, @yln wrote:

> Hi @ychen,
>
> the code changes look fine.  My understanding of your patch is that it allows test suites to be subdivided into parts that can be configured differently.
>  Before proceeding, can you please explain which problem you are trying to solve and why the existing facilities don't fit your needs?
>
> Thanks!


Hi @yln, this is mostly for compiler-rt where one test could be tested in many configurations. That makes `llvm-lit /path/to/test/src/` does not work since the `config_map` maps test source code to only one configuration currently. This patch adds a third test suite marker file (lit.site.multi.cfg), `config_map` could map to and invoke all the test configs applicable to the test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73980/new/

https://reviews.llvm.org/D73980





More information about the llvm-commits mailing list