summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-09-02 17:19:28 +0000
committerRui Ueyama <ruiu@google.com>2016-09-02 17:19:28 +0000
commit951cfb6aaea89d55d4155571378c1598fab1f987 (patch)
tree66219cf65618c69f9b3acf31c298745903a8632f /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
parent75fbe01eeb198107ced522e10e8f9441c8fe3e19 (diff)
downloadbcm5719-llvm-951cfb6aaea89d55d4155571378c1598fab1f987.tar.gz
bcm5719-llvm-951cfb6aaea89d55d4155571378c1598fab1f987.zip
Fix potential test failures.
Windows does not allow opened files to be removed. This patch fixes two types of errors. - Output file being the same as input file. Because LLD itself holds a file descriptor of the input file, it cannot create an output file with the same name as a new file. - Removing files before releasing MemoryBuffer objects. These tests are not failing no because MemoryBuffer happens to decide not to use mmap on these files. But we shouldn't rely on that behavior. llvm-svn: 280507
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud