[PATCH] D45918: [lit] Generate a single lit cfg file for tests that require dotest.py

Stella Stamenova via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 20 19:53:22 PDT 2018


stella.stamenova created this revision.
stella.stamenova added reviewers: JDevlieghere, zturner, labath, ted.
Herald added subscribers: llvm-commits, mgorny.

The current way that the lit configuration is generated for the LLDB tests that run using dotest causes cmake to fail when using a generator which supports multiple configurations (such as Visual Studio). The failure is because file GENERATE will create a file *per possible configuration* resulting in the same lit configuration file being overwritten multiple times.

To fix the issue, we need to create a single lit file that is agnostic of the configurations and can be used for any configuration.


Repository:
  rL LLVM

https://reviews.llvm.org/D45918

Files:
  lit/Suite/lit.site.cfg.in
  test/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45918.143430.patch
Type: text/x-patch
Size: 6045 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180421/15d174f6/attachment.bin>


More information about the llvm-commits mailing list