[libcxx-commits] [PATCH] D64251: Don't depend on psutil on AIX

David Tenty via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 5 08:48:03 PDT 2019


daltenty created this revision.
Herald added subscribers: llvm-commits, libcxx-commits, lldb-commits, christof, delcypher.
Herald added projects: LLDB, libc++, LLVM.

On AIX psutil can run into problems with permissions to read the process
tree, which causes problems for python tests. This patch adds a workaround
by invoking shell via subprocess and a platform specific
option to ps to list all the decendant processes so we can kill them. This removes our dependency on psutil.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D64251

Files:
  libcxx/utils/libcxx/util.py
  lldb/lit/lit.cfg.py
  llvm/utils/lit/lit/LitConfig.py
  llvm/utils/lit/lit/util.py
  llvm/utils/lit/tests/googletest-timeout.py
  llvm/utils/lit/tests/lit.cfg
  llvm/utils/lit/tests/shtest-timeout.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64251.208190.patch
Type: text/x-patch
Size: 7419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190705/91f83200/attachment.bin>


More information about the libcxx-commits mailing list