[lit] Send back whole lit.Test object from worker process
authorJulian Lettner <julian.lettner@gmail.com>
Thu, 24 Oct 2019 04:26:35 +0000 (21:26 -0700)
committerJulian Lettner <julian.lettner@apple.com>
Tue, 31 Mar 2020 04:58:48 +0000 (21:58 -0700)
commit357a17e298ccd076a9274c9746afd3a9c0a8218e
tree07f9018bbdba5fc086985d6549a6d17a0c6cda51
parent221fa96cd43cdcb3af5b03d814f38643874bd794
[lit] Send back whole lit.Test object from worker process

In previous commits [1,2] I changed worker.py to only send back the test
result from the worker process instead of the whole test object.  This
was a mistake.  lit.Test contains fields (e.g., xfials, requires,
unsupported) that are only populated when we actually execute the test,
but are queried when we report the results in the parent process.  This
commit essentially reverts the following changes:

[1] a3d2f9b53ac006cb972b61b0dbfcb5babe4356bf
[2] 17bb660fb83e869652ac87b145b0e26b708aab60
llvm/utils/lit/lit/Test.py
llvm/utils/lit/lit/run.py
llvm/utils/lit/lit/worker.py