diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-11-01 16:43:34 +0000 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-11-01 16:43:34 +0000 |
| commit | 0bca15a35a5b507c4115f7b466957a7a0c2b5d74 (patch) | |
| tree | fd194df73fa5c86d7f74d4b284933db1f21178a6 /lldb/unittests/ScriptInterpreter/Python | |
| parent | 544a66d8bb0dd414c39ca1d77c1d42be54d3f088 (diff) | |
| download | bcm5719-llvm-0bca15a35a5b507c4115f7b466957a7a0c2b5d74.tar.gz bcm5719-llvm-0bca15a35a5b507c4115f7b466957a7a0c2b5d74.zip | |
[FileSystem] Improve assert and add Terminate in unit test.
Speculative fix for the Xcode bots where we were seeing the assertion
being triggered because we would re-initialize the FileSystem without
terminating it.
llvm-svn: 345849
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
| -rw-r--r-- | lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp index 66680f10563..7bc8f64b485 100644 --- a/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp +++ b/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp @@ -38,4 +38,6 @@ void PythonTestSuite::TearDown() { PyGILState_Release(m_gil_state); ScriptInterpreterPython::Terminate(); + HostInfoBase::Terminate(); + FileSystem::Terminate(); } |

