[Lldb-commits] [PATCH] D46005: [test] Add a utility for dumping all tests in the dotest suite

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Tue May 1 10:00:26 PDT 2018


On Wed, Apr 25, 2018 at 9:19 AM Adrian Prantl <aprantl at apple.com> wrote:

>
> On Apr 25, 2018, at 9:08 AM, Zachary Turner <zturner at google.com> wrote:
>
> But is there a reason why that is more valuable with LLDB than it is with
> LLVM?  In LLVM when a test fails it stops and doesn't run subsequent run
> lines.  So you have the same issue there.
>
>
> That's not a good analogy. Multiple RUN lines don't necessarily mean
> separate tests, they mean separate commands being executed that may depend
> on each other. As Pavel pointed out before, this would be closer to how
> gtests behave.
>
> -- adrian
>

The analogy I was going for is better illustrated in
https://reviews.llvm.org/D46318.  Here we have multiple distinct tests that
are similar enough to be in the same file.  lit runs them sequentially and
stops as soon as any of the first one fails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180501/886c0e6f/attachment.html>


More information about the lldb-commits mailing list