[all-commits] [llvm/llvm-project] b5277b: [lldb][test] Print command output when it unexpect...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Thu Sep 17 04:06:58 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b5277b196f75cdb845290667b7f923f01055584d
      https://github.com/llvm/llvm-project/commit/b5277b196f75cdb845290667b7f923f01055584d
  Author: Raphael Isemann <rise at apple.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/lldbtest.py

  Log Message:
  -----------
  [lldb][test] Print command output when it unexpectedly passes (#224021)

Some LLDB tests expect commands to fail. However, we do sometimes see
these commands actually pass on the bots and the test output doesn't
really indicate what is going on.

This patch adds the (error) output of commands that we expected to fail
but didn't do the test output. This changes the dreaded `Command 'foo'
is expected to fail!` error to:

```
Command 'foo' is expected to fail!
Output: bar
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list