[PATCH] D62788: [lldb-server unittest] Add missing teardown logic

António Afonso via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 08:15:18 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL362406: [lldb-server unittest] Add missing teardown logic (authored by aadsm, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D62788?vs=202581&id=202726#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62788/new/

https://reviews.llvm.org/D62788

Files:
  lldb/trunk/unittests/tools/lldb-server/tests/TestBase.h


Index: lldb/trunk/unittests/tools/lldb-server/tests/TestBase.h
===================================================================
--- lldb/trunk/unittests/tools/lldb-server/tests/TestBase.h
+++ lldb/trunk/unittests/tools/lldb-server/tests/TestBase.h
@@ -25,6 +25,11 @@
     lldb_private::HostInfo::Initialize();
   }
 
+  static void TearDownTestCase() {
+    lldb_private::HostInfo::Terminate();
+    lldb_private::FileSystem::Terminate();
+  }
+
   static std::string getInferiorPath(llvm::StringRef Name) {
     llvm::SmallString<64> Path(LLDB_TEST_INFERIOR_PATH);
     llvm::sys::path::append(Path, Name + LLDB_TEST_INFERIOR_SUFFIX);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62788.202726.patch
Type: text/x-patch
Size: 639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190603/a70611e9/attachment.bin>


More information about the llvm-commits mailing list