[Lldb-commits] [PATCH] D83787: [lldb/Test] Always set the cleanupSubprocesses tear down hook

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 14 09:40:01 PDT 2020


JDevlieghere created this revision.
JDevlieghere added reviewers: labath, teemperor.

Always set the cleanupSubprocesses tear down hook when using spawnSubprocess or forkSubprocess instead of relying on the caller to do so. This is not only less error prone but also means the tests can be more concise.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D83787

Files:
  lldb/packages/Python/lldbsuite/test/lldbtest.py
  lldb/test/API/commands/platform/process/list/TestProcessList.py
  lldb/test/API/commands/process/attach-resume/TestAttachResume.py
  lldb/test/API/commands/process/attach/TestProcessAttach.py
  lldb/test/API/commands/process/attach/attach_denied/TestAttachDenied.py
  lldb/test/API/commands/register/register/register_command/TestRegisters.py
  lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py
  lldb/test/API/functionalities/deleted-executable/TestDeletedExecutable.py
  lldb/test/API/functionalities/process_group/TestChangeProcessGroup.py
  lldb/test/API/functionalities/reproducers/attach/TestReproducerAttach.py
  lldb/test/API/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
  lldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/TestBundleWithDotInFilename.py
  lldb/test/API/macosx/find-dsym/deep-bundle/TestDeepBundle.py
  lldb/test/API/macosx/function-starts/TestFunctionStarts.py
  lldb/test/API/macosx/universal/TestUniversal.py
  lldb/test/API/python_api/hello_world/TestHelloWorld.py
  lldb/test/API/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py
  lldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83787.277877.patch
Type: text/x-patch
Size: 11870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200714/ffbfc4a7/attachment.bin>


More information about the lldb-commits mailing list