[all-commits] [llvm/llvm-project] 4aafc4: [lldb/Test] Always set the cleanupSubprocesses tea...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Jul 14 14:06:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4aafc479f28ce1ad952f66ac3758f69060c77a08
      https://github.com/llvm/llvm-project/commit/4aafc479f28ce1ad952f66ac3758f69060c77a08
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

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

  Log Message:
  -----------
  [lldb/Test] Always set the cleanupSubprocesses tear down hook

Always clean up subprocesses on tear down 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.

Differential revision: https://reviews.llvm.org/D83787




More information about the All-commits mailing list