[Lldb-commits] [PATCH] D45949: [dotest] Make the set of tests independent of the test configuration

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 23 06:28:48 PDT 2018


labath created this revision.
labath added reviewers: JDevlieghere, aprantl.
Herald added a subscriber: eraman.

In the magic test duplicator, we were making the decision whether to
create a test variant based on the compiler and the target platform.
This meant that the set of known tests was different for each test
configuration.

This patch makes the set of generated test variants static and handles
the skipping via runtime checks instead. This is more consistent with
how we do other test-skipping decision (e.g. for libc++ tests), and
makes it easier to expose the full set of tests to lit, which now does
not need to know anything about what things can potentially cause tests
to appear or disappear.


https://reviews.llvm.org/D45949

Files:
  packages/Python/lldbsuite/test/dotest.py
  packages/Python/lldbsuite/test/lldbinline.py
  packages/Python/lldbsuite/test/lldbtest.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45949.143536.patch
Type: text/x-patch
Size: 7445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180423/ffbe8854/attachment.bin>


More information about the lldb-commits mailing list