[lit] Refactor ProgressDisplay
commit57cd0a384cc02174a36ee78e350a43fe87979295
authorJulian Lettner <jlettner@apple.com>
Wed, 9 Oct 2019 18:23:30 +0000 (9 18:23 +0000)
committerJulian Lettner <jlettner@apple.com>
Wed, 9 Oct 2019 18:23:30 +0000 (9 18:23 +0000)
tree57e065a4b285a251a705647deb3fad0414ee14b9
parent218c519b28110306c855270c72fb6577250ebfa7
[lit] Refactor ProgressDisplay

Move progress display to separate file.  Simplify some code paths.
Decouple from other components via progress callback.  Remove unused
`_Display` class.

Reviewed By: serge-sans-paille

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374194 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lit/lit/ProgressBar.py
utils/lit/lit/display.py [new file with mode: 0644]
utils/lit/lit/main.py
utils/lit/lit/run.py
utils/lit/tests/progress-bar.py