diff options
Diffstat (limited to 'unittests/Host/linux/HostTest.cpp')
-rw-r--r-- | unittests/Host/linux/HostTest.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/unittests/Host/linux/HostTest.cpp b/unittests/Host/linux/HostTest.cpp index 7ea702d8b18a..d539dbca6eae 100644 --- a/unittests/Host/linux/HostTest.cpp +++ b/unittests/Host/linux/HostTest.cpp @@ -8,6 +8,7 @@ //===----------------------------------------------------------------------===// #include "lldb/Host/Host.h" +#include "lldb/Host/FileSystem.h" #include "lldb/Host/HostInfo.h" #include "lldb/Target/Process.h" #include "gtest/gtest.h" @@ -17,8 +18,14 @@ using namespace lldb_private; namespace { class HostTest : public testing::Test { public: - static void SetUpTestCase() { HostInfo::Initialize(); } - static void TearDownTestCase() { HostInfo::Terminate(); } + static void SetUpTestCase() { + FileSystem::Initialize(); + HostInfo::Initialize(); + } + static void TearDownTestCase() { + HostInfo::Terminate(); + FileSystem::Terminate(); + } }; } // namespace |