[Lldb-commits] [lldb] [lldb][Target][NFC] Update error messages according to LLVM-coding style (PR #181795)

via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 17 02:20:19 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 33328 tests passed
* 499 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### lldb-unit
<details>
<summary>lldb-unit.Expression/_/ExpressionTests/ExpressionTests/ExpressionOptions_Basic</summary>

```
Script:
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/unittests/Expression/./ExpressionTests --gtest_filter=ExpressionTests.ExpressionOptions_Basic
--
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/ExpressionTest.cpp:136
Value of: llvm::detail::TakeExpected(options.GetBooleanLanguageOption("foo"))
Expected: failed with Error whose message has 1 element that is equal to "Option 'foo' does not exist."
  Actual: failed  (option 'foo' does not exist), whose element #0 doesn't match

/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/ExpressionTest.cpp:138
Value of: llvm::detail::TakeExpected(options.GetBooleanLanguageOption("bar"))
Expected: failed with Error whose message has 1 element that is equal to "Option 'bar' does not exist."
  Actual: failed  (option 'bar' does not exist), whose element #0 doesn't match

/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/ExpressionTest.cpp:162
Value of: llvm::detail::TakeExpected(options.GetBooleanLanguageOption(""))
Expected: failed with Error whose message has 1 element that is equal to "Option '' does not exist."
  Actual: failed  (option '' does not exist), whose element #0 doesn't match

/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/ExpressionTest.cpp:165
Value of: llvm::detail::TakeError(options.SetBooleanLanguageOption("", true))
Expected: failed with Error whose message has 1 element that is equal to "Can't set an option with an empty name."
  Actual: failed  (can't set an option with an empty name), whose element #0 doesn't match

/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/unittests/Expression/ExpressionTest.cpp:167
Value of: llvm::detail::TakeExpected(options.GetBooleanLanguageOption(""))
Expected: failed with Error whose message has 1 element that is equal to "Option '' does not exist."
  Actual: failed  (option '' does not exist), whose element #0 doesn't match


```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/181795


More information about the lldb-commits mailing list