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


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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to