[lit] Small refactoring and cleanups in main.py
commit00357bdb47052f65be20a084ca393109f3e7f7d5
authorJulian Lettner <jlettner@apple.com>
Wed, 16 Oct 2019 21:53:20 +0000 (16 21:53 +0000)
committerJulian Lettner <jlettner@apple.com>
Wed, 16 Oct 2019 21:53:20 +0000 (16 21:53 +0000)
tree5a252ad088940036a48741840c98f3b56cb41df1
parentd99371f9a045b6065c5b9ca34d7715e1f4ce11a3
[lit] Small refactoring and cleanups in main.py

* Remove outdated precautions for Python versions < 2.7
* Remove dead code related to `maxIndividualTestTime` option
* Move printing of test and result summary out of main into its own
  function

Reviewed By: rnk

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

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