diff options
author | Brian Gesiak <brian@modocache.io> | 2024-04-29 10:54:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-29 10:54:31 -0400 |
commit | b811ad6f348db076b995fdd8f688d72e5a40f7f9 (patch) | |
tree | c7279b2a8c0e2d56d56a459e12d09186b6dfcb80 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py | |
parent | f6187c76595d576ee75252eee3bf199e91bd276f (diff) | |
download | llvm-b811ad6f348db076b995fdd8f688d72e5a40f7f9.zip llvm-b811ad6f348db076b995fdd8f688d72e5a40f7f9.tar.gz llvm-b811ad6f348db076b995fdd8f688d72e5a40f7f9.tar.bz2 |
[mlir-lsp] Un-revert unit test additions (#90232)
This reverts the revert commit 6844c2feae93dd4251, which was comprised
of the following commits:
1. f3f6f22dfcced - [mlir-lsp] Initialize `Reply::method` member (#89857)
2. 37e13d4924841 - [mlir-lsp] Log invalid notification params (#89856)
3. ba1b52e6e764a - [mlir-lsp] Add `outgoingNotification` unit test
4. 84bc21f910173 - [mlir-lsp] Add transport unit tests (#89855)
Of these, (4) specifically caused issues in Windows pre-merge buildbots,
in the `TransportTest.MethodNotFound` unit test that it added. The
failure was caused by a statement that asserted that opening a file
stream on a newly created temporary file did not result in an error, but
this assert failed on Windows.
This patch adds additional error logging for failures, to make it
clearer what went wrong when failures occur. This patch also addresses
the Windows failure by ensuring temporary files are created in the
system temporary directory.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions