[Lldb-commits] [PATCH] D47062: Suggest lldb-dotest to reproduce a failure.

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri May 18 08:38:11 PDT 2018

JDevlieghere marked an inline comment as done.
JDevlieghere added a comment.

In https://reviews.llvm.org/D47062#1104558, @davide wrote:

> Can you commit the whitespace fixes separately?


Comment at: packages/Python/lldbsuite/test/dosep.py:122
             print("[%s FAILED]%s" % (name, timeout_str), file=sys.stderr)
-            print("Command invoked: %s" % ' '.join(command), file=sys.stderr)
+            print("Reproduce with: lldb-dotest -f {}".format(name), file=sys.stderr)
aprantl wrote:
> What do you think about adding the full path to lldb-dotest? I usually have at least three concurrent checkouts of lldb at any time.
Me too, but how would we get that information here? On of `lldb-dotest`'s goals is that you can execute it from anywhere, so you'd either have to pass it explicitly to `dotest.py` (either using a custom argument and cmake variable combo, or by assuming it lives in the same directory as the current lldb and appending `-dotest`) but that feels like it might not be worth it. Maybe there's another solution you had in mind?



More information about the lldb-commits mailing list