slydiman wrote:

Note the buildbot 
[lldb-x86_64-win](https://lab.llvm.org/buildbot/#/builders/211/builds/5209) is 
broken after this patch. Please take a look.

FAIL: lldb-api::TestFileHandle.py
```
FAIL: test_stdout_file_interactive 
(TestFileHandle.FileHandleTestCase.test_stdout_file_interactive)
    Ensure when we read stdin from a file, outputs from python goes to the 
right I/O stream.
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\test\API\python_api\file_handle\TestFileHandle.py",
 line 719, in test_stdout_file_interactive
    self.assertIn(expected_out_text, out_text)
AssertionError: '255' not found in '(lldb) script --language python --\n>>> 
(lldb) value = 250 + 5\n(lldb) print(value)\n(lldb) print(vel)\n'
Config=x86_64-C:\buildbot\as-builder-10\lldb-x86-64\build\bin\clang.exe
----------------------------------------------------------------------
Ran 51 tests in 0.801s
FAILED (failures=1)
```
FAIL: lldb-shell::io.test
```
# executed command: 
'c:\buildbot\as-builder-10\lldb-x86-64\build\bin\filecheck.exe' 
'C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\test\Shell\ScriptInterpreter\Python\io.test'
 --check-prefix STDERR
# .---command stderr------------
# | 
C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\test\Shell\ScriptInterpreter\Python\io.test:12:11:
 error: STDERR: expected string not found in input
# | # STDERR: NameError{{.*}}is not defined
# |           ^
# | <stdin>:1:1: note: scanning from here
# | Python Interactive Interpreter. To exit, type 'quit()', 'exit()'.
# | ^
# | <stdin>:4:8: note: possible intended match here
# | error: 'variable' is not a valid command.
# |        ^
# | 
# | Input file: <stdin>
# | Check file: 
C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\test\Shell\ScriptInterpreter\Python\io.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: Python Interactive Interpreter. To exit, type 'quit()', 
'exit()'. 
# | check:12'0     
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no 
match found
# |             2:  
# | check:12'0     ~
# |             3: now exiting InteractiveConsole... 
# | check:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             4: error: 'variable' is not a valid command. 
# | check:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:12'1            ?                                   possible intended 
match
# |             5: error: unknown command shorthand suffix: '(variable)' 
# | check:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: error: unknown command shorthand suffix: '(not_value)' 
# | check:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
```

https://github.com/llvm/llvm-project/pull/174216
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to