commit | 5ef672de8d5bcad2936fa0a77d5e27aab40654e7 | [log] [tgz] |
---|---|---|
author | Dan Liew <dan@su-root.co.uk> | Wed Jan 13 16:43:49 2016 +0000 |
committer | Dan Liew <dan@su-root.co.uk> | Wed Jan 13 16:43:49 2016 +0000 |
tree | 7e1378fd010e16da6bb89481d304d663c9608a83 | |
parent | 92da4c5cb5e293890b919511ea60a97b8e4e8679 [diff] |
[lit] Fix handling of per test timeout when the installed psutil version is < ``2.0``. Older versions of psutil (e.g. ``1.2.1`` which is the version shipped with Ubuntu 14.04) use a different API for retrieving the child processes. To handle this try the new API first and if that fails try the old API. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257616 91177308-0d34-0410-b5e6-96231b3b80d8