diff options
author | Enrico Granata <egranata@apple.com> | 2016-04-12 18:23:18 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2016-04-12 18:23:18 +0000 |
commit | 15d1b4e2aab9159a8cc56b49eb68f1a82e4ebe90 (patch) | |
tree | 218da3d01187b8bee2ef6c9d227d120860f6d0da /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | b390d8ee3980f729d1dc777c0cf422a2d72eb625 (diff) | |
download | bcm5719-llvm-15d1b4e2aab9159a8cc56b49eb68f1a82e4ebe90.tar.gz bcm5719-llvm-15d1b4e2aab9159a8cc56b49eb68f1a82e4ebe90.zip |
Initialize the Python script interpreter lazily (i.e. not at debugger startup)
This time it should also pass the gtests
llvm-svn: 266103
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
-rw-r--r-- | lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp index 3d1727dc1c2..5eb1c72598a 100644 --- a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp +++ b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp @@ -24,6 +24,7 @@ PythonTestSuite::SetUp() // ScriptInterpreterPython::Initialize() depends on HostInfo being // initializedso it can compute the python directory etc. ScriptInterpreterPython::Initialize(); + ScriptInterpreterPython::InitializePrivate(); // Although we don't care about concurrency for the purposes of running // this test suite, Python requires the GIL to be locked even for |