summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2018-12-04 14:04:27 +0000
committerPavel Labath <pavel@labath.sk>2018-12-04 14:04:27 +0000
commit3fbdde3172c96ffdfafbaa59ce264d02874b170e (patch)
tree1e0a127df3f680a925c3df67aac404497af626a8 /lldb
parentf73b782105ec151c01d03b9f433e4e6c8d3aaf45 (diff)
downloadbcm5719-llvm-3fbdde3172c96ffdfafbaa59ce264d02874b170e.tar.gz
bcm5719-llvm-3fbdde3172c96ffdfafbaa59ce264d02874b170e.zip
Fix lldb-server unit tests for the MonitoringProcessLauncher refactor
We now need to initialize the filesystem in these tests. llvm-svn: 348261
Diffstat (limited to 'lldb')
-rw-r--r--lldb/unittests/tools/lldb-server/tests/TestBase.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/unittests/tools/lldb-server/tests/TestBase.h b/lldb/unittests/tools/lldb-server/tests/TestBase.h
index 8956490e945..7ca1c1a975a 100644
--- a/lldb/unittests/tools/lldb-server/tests/TestBase.h
+++ b/lldb/unittests/tools/lldb-server/tests/TestBase.h
@@ -11,6 +11,7 @@
#define LLDB_SERVER_TESTS_TESTBASE_H
#include "TestClient.h"
+#include "lldb/Host/FileSystem.h"
#include "lldb/Host/HostInfo.h"
#include "llvm/Support/Path.h"
#include "llvm/Testing/Support/Error.h"
@@ -20,7 +21,10 @@ namespace llgs_tests {
class TestBase: public ::testing::Test {
public:
- static void SetUpTestCase() { lldb_private::HostInfo::Initialize(); }
+ static void SetUpTestCase() {
+ lldb_private::FileSystem::Initialize();
+ lldb_private::HostInfo::Initialize();
+ }
static std::string getInferiorPath(llvm::StringRef Name) {
llvm::SmallString<64> Path(LLDB_TEST_INFERIOR_PATH);
OpenPOWER on IntegriCloud