diff options
author | Adrian McCarthy <amccarth@google.com> | 2019-06-18 16:36:57 +0000 |
---|---|---|
committer | Adrian McCarthy <amccarth@google.com> | 2019-06-18 16:36:57 +0000 |
commit | 46e6e132987504b127a9582dd2003c734fabbd5d (patch) | |
tree | a49e90cad1a71e563d76eca0789e4279564cff72 /lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py | |
parent | 3559d2224ee470fd3c2eb6cac0b4714b889aeb3c (diff) | |
download | bcm5719-llvm-46e6e132987504b127a9582dd2003c734fabbd5d.tar.gz bcm5719-llvm-46e6e132987504b127a9582dd2003c734fabbd5d.zip |
Fix some lit test ResourceWarnings on Windows
When running LLDB lit tests on Windows, the system selects a debug version
of Python, which was issuing lots of ResourceWarnings about files that
weren't closed. There are two kinds of them, and each test triggered one
of each.
This patch fixes one kind by ensuring TestRunner explicitly close the
temporary files created for routing stderr. This is important on Windows
but has no net effect on Posix systems.
The remaining ResourceWarnings are more elusive; the bug may lie in
the Python library subprocess.py, and it may be Windows-specific.
Differential Revision: https://reviews.llvm.org/D63102
llvm-svn: 363700
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py')
0 files changed, 0 insertions, 0 deletions