[Lldb-commits] [lldb] r257644 - Fix an issue where scripted commands would not actually print any of their output if an immediate output file was set in the result object via a Python file object

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 13 10:21:14 PST 2016

On Wed, Jan 13, 2016 at 10:15 AM Enrico Granata via lldb-commits <
lldb-commits at lists.llvm.org> wrote:

> +
> +class CommandScriptImmediateOutputTestCase (PExpectTest):
Does the bug that you were trying to fix occur only when using the
command_script.py file from the lldb command line?  If you load it from
within lldb via an LLDB command, does the problem still occur?  If the
problem you are fixing is not specific to the LLDB command line, I would
prefer if you write this not as a pexpect test.

> +
> +    mydir = TestBase.compute_mydir(__file__)
> +
> +    def setUp(self):
> +        # Call super's setUp().
> +        PExpectTest.setUp(self)
> +
> +    @skipIfRemote # test not remote-ready llvm.org/pr24813
> +    @expectedFlakeyFreeBSD("llvm.org/pr25172 fails rarely on the
> buildbot")
> +    @expectedFlakeyLinux("llvm.org/pr25172")
Are these necessary?  The windows one is necessary (but not if you change
this to not being a pexpect test as I've requested above), but why are the
other ones necessary?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160113/e624faa8/attachment.html>

More information about the lldb-commits mailing list