diff options
author | John Harrison <harjohn@google.com> | 2025-05-13 21:21:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-13 21:21:43 -0700 |
commit | 1a0b82563fc720d5bf9ea22b940c08c51cb9e7b1 (patch) | |
tree | fcda333825d8bf8a0369cfba581aaac48afcbc94 /clang/lib/AST/ByteCode/Compiler.cpp | |
parent | 5a7e72d575cb2bd8fb171b58324fd2b0a39d5025 (diff) | |
download | llvm-1a0b82563fc720d5bf9ea22b940c08c51cb9e7b1.zip llvm-1a0b82563fc720d5bf9ea22b940c08c51cb9e7b1.tar.gz llvm-1a0b82563fc720d5bf9ea22b940c08c51cb9e7b1.tar.bz2 |
[lldb-dap] Improving tests logging to understand CI failures. (#139311)
To improve logging this adjusts two properties of the existing tests:
* Forwards stderr from lldb-dap to the process in case errors are
reported to stderr.
* Adjusts `DebugAdapterServer.terminate` to close stdin and wait for the
process to exit instead of sending SIGTERM. Additionally, if we end up
with a non-zero exit status we now raise an error to note the unexpected
exit status.
With these changes, I did find one test case in
`TestDAP_console.test_diagnositcs` that was not waiting to ensure the
expected event had arrived by the time it performed an assert.
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions