[all-commits] [llvm/llvm-project] f22496: [dotest] Simplify logic to find the Python path

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Oct 5 19:04:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f22496a9f4cabb97e735314b62731fedb2e01e50
      https://github.com/llvm/llvm-project/commit/f22496a9f4cabb97e735314b62731fedb2e01e50
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/dotest.py

  Log Message:
  -----------
  [dotest] Simplify logic to find the Python path

Simplify the logic of parsing the lldb -P output to find the python
path. This removes the special handling for the LLDB.framework case and
instead of pattern matching known errors focus on finding a directory
path that contains an __init__.py.

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




More information about the All-commits mailing list