[Lldb-commits] [lldb] r347254 - Fix clang test suite on Windows by reverting part of r347216
Reid Kleckner via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 19 11:36:28 PST 2018
Author: rnk
Date: Mon Nov 19 11:36:28 2018
New Revision: 347254
URL: http://llvm.org/viewvc/llvm-project?rev=347254&view=rev
Log:
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.
Modified:
lldb/trunk/lit/lit.cfg.py
Modified: lldb/trunk/lit/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/lit.cfg.py?rev=347254&r1=347253&r2=347254&view=diff
==============================================================================
--- lldb/trunk/lit/lit.cfg.py (original)
+++ lldb/trunk/lit/lit.cfg.py Mon Nov 19 11:36:28 2018
@@ -11,6 +11,7 @@ from lit.llvm import llvm_config
from lit.llvm.subst import FindTool
from lit.llvm.subst import ToolSubst
+site.addsitedir(os.path.dirname(__file__))
from helper import toolchain
# name: The name of this test suite.
More information about the lldb-commits
mailing list