llvm-project/libcxx/utils
David Tenty b9179ff857 [AIX][lit] Don't depend on psutil on AIX
Summary:
On AIX psutil can run into problems with permissions to read the process
tree, which causes problems for python timeout tests which need to kill off
a test and it's children.

This patch adds a workaround by invoking shell via subprocess and using a
platform specific option to ps to list all the descendant processes so we can
kill them. We add some checks so lit can tell whether timeout tests are
supported with out exposing whether we are utilizing the psutil
implementation or the alternative.

Reviewers: hubert.reinterpretcast, andusy, davide, delcypher

Reviewed By: delcypher

Subscribers: davide, delcypher, christof, lldb-commits, libcxx-commits, llvm-commits

Tags: #lldb, #libc, #llvm

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

llvm-svn: 366912
2019-07-24 15:04:27 +00:00
..
ci [libc++] Allow passing additional CMake arguments in macOS trunk CI script 2019-07-19 18:47:00 +00:00
docker Reconfigure docker builders to be more modular. 2019-06-18 19:31:38 +00:00
google-benchmark [RISCV] Implement benchmark::cycleclock::Now 2019-07-24 05:33:46 +00:00
libcxx [AIX][lit] Don't depend on psutil on AIX 2019-07-24 15:04:27 +00:00
symcheck-blacklists Start libc++ python cleanup and consolidation. 2017-02-09 22:53:14 +00:00
cat_files.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
gen_link_script.py [libcxx] Use relative path for libc++ library when generating script 2019-04-23 22:55:28 +00:00
generate_feature_test_macro_components.py P0722R3: Implement library support for destroying delete 2019-05-23 23:46:44 +00:00
merge_archives.py [libcxx] Use libtool when merging archives on Apple platforms 2019-06-02 01:14:31 +00:00
not.py Tolerate import errors in "not.py" implementation 2019-07-12 01:13:05 +00:00
sym_diff.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
sym_extract.py Make the sym_diff utilities more useful. 2019-02-12 00:00:43 +00:00
sym_match.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00