[lit] Reduce value of synthesized timeouts
commit07d7dd1ceb91536f1206bf06ae09df88298229e3
authorJulian Lettner <jlettner@apple.com>
Fri, 18 Oct 2019 17:59:46 +0000 (18 17:59 +0000)
committerJulian Lettner <jlettner@apple.com>
Fri, 18 Oct 2019 17:59:46 +0000 (18 17:59 +0000)
tree65c91fd1f3e4f496de05d7c01e4c98c9fbfeabb9
parent0554f6fd6d96a3758f0034737816f4b9104c5355
[lit] Reduce value of synthesized timeouts

Large timeout values (one year, positive infinity) trip up Python on
Windows with "OverflowError: timeout value is too large".  One week
seems to work and is still large enough in practice.

Thanks to Simon Pilgrim for helping me test this.
https://reviews.llvm.org/rL375171

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375264 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lit/lit/run.py