OSDN Git Service

Fix clang test suite on Windows by reverting part of r347216
authorReid Kleckner <rnk@google.com>
Mon, 19 Nov 2018 19:36:28 +0000 (19:36 +0000)
committerReid Kleckner <rnk@google.com>
Mon, 19 Nov 2018 19:36:28 +0000 (19:36 +0000)
commita4eddf6b3916c9474798d6b38cd5fb619eeafb2f
treef698016b77ea5e9be4453e94b18aceb7983a2c22
parent1fd9d3a69d217eec3f259e18d6f4feb0e1c8f563
Fix clang test suite on Windows by reverting part of r347216

Otherwise, the clang analyzer tests fail on Windows when attempting to
unpickle AnalyzerTest objects in the worker processes. The pattern of,
add to path, import, remove from path, serialize, deserialize, doesn't
work. Once something gets added to the path, if we want to move it
across the wire for multiprocessing, we need to keep the module on
sys.path.

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