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)
commitc6846a812b27b0ba343c63839eeb3655c1d679cc
treeb402f879916569a30ec3690ce0210ee82cb75969
parent01f4c4be903dd90ed909b2da63bcdcc571eca45e
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.

llvm-svn: 347254
lldb/lit/lit.cfg.py
llvm/utils/lit/lit/TestingConfig.py