OSDN Git Service

Fix lit/example/many-tests pickling issue
authorAlex Langford <apl@fb.com>
Fri, 14 Sep 2018 19:44:09 +0000 (19:44 +0000)
committerAlex Langford <apl@fb.com>
Fri, 14 Sep 2018 19:44:09 +0000 (19:44 +0000)
commit7b77a6b5d211b3667e5efc15515f982d2a1dc49e
tree941539b4beb80e87825a633a4dece656810ab698
parentf43a94c91a971b9fbe3f45d8204b5b53a95c4eec
Fix lit/example/many-tests pickling issue

Summary:
The multiprocess module uses pickling to transfer
information between processes and does not know how to pickle
the class created in the lit.cfg file and thus the example
fails.

Implement ManyTests in a separate file and import for the
example test passes

Patch by Nathan Lanza <nathan@lanza.io>

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342269 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lit/examples/many-tests/ManyTests.py [new file with mode: 0644]
utils/lit/examples/many-tests/lit.cfg