[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
This commit is contained in:
Jonas Devlieghere
2018-11-01 16:43:34 +00:00
parent 544a66d8bb
commit 0bca15a35a
2 changed files with 6 additions and 3 deletions

View File

@@ -38,4 +38,6 @@ void PythonTestSuite::TearDown() {
PyGILState_Release(m_gil_state);
ScriptInterpreterPython::Terminate();
HostInfoBase::Terminate();
FileSystem::Terminate();
}