[lit] Check for the psutil module when setting a timeout
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 29 Apr 2019 21:03:39 +0000 (21:03 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 29 Apr 2019 21:03:39 +0000 (21:03 +0000)
commit58b166325c2a3e60b72d557c250e7fc22c459a77
treeb1c03a8ce7b1012234633cd8ffe38129d77c361f
parente9bc35fe064bb2eedd24dc3fead722e20966e7c3
[lit] Check for the psutil module when setting a timeout

Apparently setting the per-test-timeout and not having the psutil
package constitutes to a fatal error. So only set the timeout when the
module is available.

llvm-svn: 359503
lldb/lit/lit.cfg.py