[lit] Factor out report generators into separate file
authorJulian Lettner <julian.lettner@apple.com>
Fri, 1 May 2020 16:35:46 +0000 (09:35 -0700)
committerJulian Lettner <julian.lettner@apple.com>
Sat, 2 May 2020 00:03:55 +0000 (17:03 -0700)
commit7ffb5bc2a25bbe81c1048ffd49a6d927a7b50658
tree82a82a3b91baa1a455046f146e0ca8cfe43c419e
parent11e02d5c24f9badc0ff34afc9538774f67cc8c50
[lit] Factor out report generators into separate file

Factor out the report generators from main.py into reports.py.

I verified that we generate the exact same output by running `check-all`
and comparing the new and old output for both report flavors.
llvm/utils/lit/lit/Test.py
llvm/utils/lit/lit/main.py
llvm/utils/lit/lit/reports.py [new file with mode: 0755]