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

Yuanfang Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 10:50:00 PST 2020


ychen created this revision.
ychen added reviewers: rnk, dsanders, thakis, paquette, yln.
Herald added subscribers: llvm-commits, delcypher, mgorny.
Herald added a project: LLVM.

1. Make class TestSuite own more than one TestConfig and update clients accordingly.
2. There are some complication to avoid reloading same TestConfig twice when exec dir is in tree. Add a TestConfig cache key'd on its file path to solve the problem. (llvm\utils\lit\tests\Inputs\exec-discovery-in-tree)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73980

Files:
  llvm/docs/CommandGuide/lit.rst
  llvm/utils/lit/CMakeLists.txt
  llvm/utils/lit/lit/LitConfig.py
  llvm/utils/lit/lit/Test.py
  llvm/utils/lit/lit/TestingConfig.py
  llvm/utils/lit/lit/discovery.py
  llvm/utils/lit/lit/formats/base.py
  llvm/utils/lit/lit/formats/googletest.py
  llvm/utils/lit/lit/main.py
  llvm/utils/lit/tests/discovery.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73980.242376.patch
Type: text/x-patch
Size: 26361 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200204/303dbb69/attachment.bin>


More information about the llvm-commits mailing list