[Lldb-commits] [lldb] [lldb] improve the heuristics for checking if a terminal supports Unicode (PR #171832)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 11 06:15:26 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 33219 tests passed
* 506 tests skipped
* 3 tests failed
## Failed Tests
(click on a test name to see its output)
### lldb-shell
<details>
<summary>lldb-shell.Commands/command-dwim-print.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
echo quit | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -o "dwim-print a" | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-dwim-print.test --strict-whitespace --check-prefix=CHECK1
# executed command: echo quit
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -o 'dwim-print a'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-dwim-print.test --strict-whitespace --check-prefix=CHECK1
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-dwim-print.test:5:11: error: CHECK1: expected string not found in input
# | # CHECK1: {{^ (╰─)? error: use of undeclared identifier 'a'}}
# | <stdin>:5:20: note: scanning from here
# | ^
# | ^
# | <stdin>:6:19: note: possible intended match here
# | error: use of undeclared identifier 'a'
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-dwim-print.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: (lldb) command source -s 0 '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet'
# | 2: Executing commands in '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet'.
# | 3: (lldb) command source -C --silent-run true lit-lldb-init
# | 4: (lldb) dwim-print a
# | 5: ^
# | check:5'0 X error: no match found
# | 6: error: use of undeclared identifier 'a'
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:5'1 ? possible intended match
# | 7: note: Falling back to default language. Ran expression as 'Objective C++'.
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 8: (lldb) quit
# | check:5'0 ~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>lldb-shell.Commands/command-expr-diagnostics.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
echo quit | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -o "expression a+b" | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-expr-diagnostics.test --strict-whitespace --check-prefix=CHECK1
# executed command: echo quit
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -o 'expression a+b'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-expr-diagnostics.test --strict-whitespace --check-prefix=CHECK1
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-expr-diagnostics.test:5:11: error: CHECK1: expected string not found in input
# | # CHECK1: {{^ (\||│) (╰─)? error: use of undeclared identifier 'b'}}
# | <stdin>:5:22: note: scanning from here
# | ^ ^
# | ^
# | <stdin>:6:19: note: possible intended match here
# | | error: use of undeclared identifier 'b'
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-expr-diagnostics.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: (lldb) command source -s 0 '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet'
# | 2: Executing commands in '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet'.
# | 3: (lldb) command source -C --silent-run true lit-lldb-init
# | 4: (lldb) expression a+b
# | 5: ^ ^
# | check:5'0 X error: no match found
# | 6: | error: use of undeclared identifier 'b'
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:5'1 ? possible intended match
# | 7: error: use of undeclared identifier 'a'
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 8: note: Falling back to default language. Ran expression as 'Objective C++'.
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 9: (lldb) quit
# | check:5'0 ~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>lldb-shell.Commands/command-options.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
echo quit | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -O "log enable -x" | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-options.test --strict-whitespace --check-prefix=CHECK1
# executed command: echo quit
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet -O 'log enable -x'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-options.test --strict-whitespace --check-prefix=CHECK1
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-options.test:5:11: error: CHECK1: expected string not found in input
# | # CHECK1: {{^ (╰─)? error: unknown or ambiguous option}}
# | <stdin>:5:21: note: scanning from here
# | ^~
# | ^
# | <stdin>:6:19: note: possible intended match here
# | error: unknown or ambiguous option
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Commands/command-options.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: (lldb) command source -s 0 '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet'
# | 2: Executing commands in '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet'.
# | 3: (lldb) command source -C --silent-run true lit-lldb-init
# | 4: (lldb) log enable -x
# | 5: ^~
# | check:5'0 X error: no match found
# | 6: error: unknown or ambiguous option
# | check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:5'1 ? possible intended match
# | 7: (lldb) quit
# | check:5'0 ~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</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/171832
More information about the lldb-commits
mailing list