[PATCH] D45215: RFC/WIP: Have lit run the lldb test suite

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 3 10:25:45 PDT 2018


JDevlieghere created this revision.
JDevlieghere added reviewers: davide, labath, aprantl, vsk, jasonmolenda, jingham, friss.
Herald added a subscriber: llvm-commits.

With `lldb-dotest` checked in, this is the next step in allowing us to run the LLDB test suite with lit. I've converted a single test to give an idea of what I have in mind.

My goal is for this to live next to lldb-dotest until we're convinced that this is the way to go, at which point we can start moving functionality from dotest to lit. For example, with the current approach when a test is not supported it will show up as `PASS` in lit because dotest returned exit code 0.


Repository:
  rL LLVM

https://reviews.llvm.org/D45215

Files:
  lit/TestSuite
  packages/Python/lldbsuite/test/lit.local.cfg
  packages/Python/lldbsuite/test/warnings/uuid/TestAddDsymCommand.test


Index: packages/Python/lldbsuite/test/warnings/uuid/TestAddDsymCommand.test
===================================================================
--- /dev/null
+++ packages/Python/lldbsuite/test/warnings/uuid/TestAddDsymCommand.test
@@ -0,0 +1 @@
+RUN: lldb-dotest %S
Index: packages/Python/lldbsuite/test/lit.local.cfg
===================================================================
--- /dev/null
+++ packages/Python/lldbsuite/test/lit.local.cfg
@@ -0,0 +1 @@
+config.suffixes = ['.test']
Index: lit/TestSuite
===================================================================
--- /dev/null
+++ lit/TestSuite
@@ -0,0 +1 @@
+../packages/Python/lldbsuite/test/
\ No newline at end of file


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45215.140818.patch
Type: text/x-patch
Size: 691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180403/f06dcde0/attachment.bin>


More information about the llvm-commits mailing list