[all-commits] [llvm/llvm-project] 42c3b5: Fix cleanup error in TestVSCode_disconnect.test_la...

Muhammad Omair Javaid via All-commits all-commits at lists.llvm.org
Tue Mar 30 03:37:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42c3b5e5b6ffd39041c3d34f01e7162573eefd6e
      https://github.com/llvm/llvm-project/commit/42c3b5e5b6ffd39041c3d34f01e7162573eefd6e
  Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
  Date:   2021-03-30 (Tue, 30 Mar 2021)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py
    M lldb/test/API/tools/lldb-vscode/disconnect/TestVSCode_disconnect.py

  Log Message:
  -----------
  Fix cleanup error in TestVSCode_disconnect.test_launch

TestVSCode_disconnect.test_launch fails with clean up error because
disconnect gets called twice once from the test case and once from
the tear down hook.

This patch disables disconnect after its been called from test_launch

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D99491




More information about the All-commits mailing list