[lit] Reduce value of synthesized timeouts
authorJulian Lettner <jlettner@apple.com>
Fri, 18 Oct 2019 17:59:46 +0000 (17:59 +0000)
committerJulian Lettner <jlettner@apple.com>
Fri, 18 Oct 2019 17:59:46 +0000 (17:59 +0000)
commit80873de5323884d942cf23c0164a6cc932e9ab7e
tree3b89b449d3846916592bf75a1186d6c9d03dbb4f
parent0381867f8454548c5242830b98a0e4913a05084a
[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

llvm-svn: 375264
llvm/utils/lit/lit/run.py